Bỏ qua

Backblaze B2

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

Nếu bạn thêm bộ lưu trữ mà không có các tùy chọn khóa, bạn sẽ được nhắc nhập Application Key Id và Application Key.

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

Bạn cũng có thể chỉ định Application Key Id hoặc Application Key bằng tùy chọn.

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]

Cảnh báo

Các lệnh shell được lưu lại trong lịch sử. Nếu có thể, chúng tôi khuyên bạn không ghi kèm giá trị cho tùy chọn --app-key.

Nếu không chỉ định thư mục gắn, bộ lưu trữ sẽ được gắn vào một thư mục trong /mnt, chẳng hạn /mnt/backblaze. Để chỉ định thư mục gắn, hãy dùng tùy chọn --mount-path.

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

Tùy chọn bổ sung

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

Xem thêm