Link Search Menu Expand Document

SqlBak-CLI documentation

Backblaze B2 Storage

SqlBak-CLI can store backups to Backblaze B2 Cloud Storage.

{
   "type":"backblaze_b2",
   "bucket_name":"<string>",
   "access_key_id":"<string>",
   "access_key":"<string>",
   "path":"<string>"
}

Mandatory parameters

type

Storage type where the backups will be stored. For Backblaze B2 storage, this should be backblaze_b2.

bucket_name

The name of the bucket in Backblaze B2 where the backups will be stored.

access_key_id

The access key ID for your Backblaze B2 account.

access_key

The secret access key for your Backblaze B2 account. This key should be encrypted with AES.

path

The path where the backups will be stored in the Backblaze B2 bucket.

Example

Here is an example of how to use Backblaze B2 as a storage destination:

{
   "storages":[
      {
         "type":"backblaze_b2",
         "bucket_name":"backups-bucket",
         "access_key_id":"1234abcd56413b500z0g00t0f",
         "access_key":"aes:zdeDwR7WxFQY91neR1/a9xTrH0dSOVrGmShJ1PkM8WA=",
         "path":"database-backup"
      }
   ]
}