Ga naar inhoud

Backblaze B2

raidrivecli add backblaze --bucket-id <bucket-id> --bucket <bucket>

Als je opslag zonder de sleutelopties toevoegt, vraagt de CLI om Application Key Id en Application Key.

$ raidrivecli add backblaze --bucket-id mybucketid --bucket mybucket
Application Key Id: <key-id>
Application Key: ********

Je kunt Application Key Id of Application Key ook als optie opgeven.

raidrivecli add backblaze --bucket-id <bucket-id> --bucket <bucket> \
                          --app-key-id <key-id>
raidrivecli add backblaze --bucket-id <bucket-id> --bucket <bucket> \
                          --app-key-id <key-id> \
                          --app-key [key]

Waarschuwing

Shell-opdrachten worden in de geschiedenis vastgelegd. Geef de optie --app-key daarom bij voorkeur niet met een waarde op.

Als je geen koppelmap opgeeft, wordt de opslag gekoppeld aan een map onder /mnt, zoals /mnt/backblaze. Gebruik de optie --mount-path om zelf een koppelmap op te geven.

raidrivecli add backblaze --bucket-id mybucketid --bucket mybucket \
                          --mount-path /myservices/backblaze

Extra opties

--bucket-id <bucket-id>                 bucket id
--bucket <bucket>                       bucket
--app-key-id <key-id>                   application key id
--app-key [key]                         application key

Zie ook