Skip to content

Backblaze B2

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

If you add storage without the key options, you will be prompted to enter an Application Key Id and Application Key.

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

Alternatively, an Application Key Id or Application Key can be specified as options.

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]

Warning

Shell commands are logged in history. If possible, we recommend not specifying the --app-key option with a value.

If a mount directory is not specified, it will be mounted to a directory such as /mnt/backblaze under /mnt. To specify the mount directory, use the --mount-path option.

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

Additional options

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

See also