Set up and check the B2 bucket that holds your pods' backups: list buckets and keys, check a bucket against the backup policy, see storage per pod and whether each pod's backups are recent. Creating or changing the bucket waits for your approval. Needs a B2 application key.
What your agent can do with it
- b2_apiAuthenticated HTTP access to the Backblaze B2 native API v4. Signs in with b2_authorize_account (HTTP Basic keyID:applicationKey), then sends each call to the account's apiUrl wit…
- b2_list_bucketsLists the B2 account's buckets (name, id, type, lifecycle rules, revision). Read-only, no side effects. Args: { bucketName?: string (only that bucket) }.
- b2_get_bucket_settingsReads one bucket's settings — type (private/public), versioning (B2 keeps every version; lifecycle rules decide purging), lifecycle rules, Object Lock, default encryption — and ch…
- b2_list_keysLists the account's application keys — id, name, capabilities, bucket and namePrefix restrictions, expiry. Never returns a key's secret (B2 does not). Use it to audit that each po…
- b2_storage_by_podStorage used under pods/<podId>/ in a bucket: total bytes of every stored version, version count and hide markers. Without podId, sums every pods/<id>/ folder. Read-only, but it p…
- b2_backup_freshnessAre this pod's backups present and recent? Lists the restic snapshot files under pods/<podId>/snapshots/ and reports the newest upload time, its age in hours, and recent = age <= …
- b2_ensure_backup_bucketCreates THE backup bucket, or brings an existing one to the backup policy: private (allPrivate), B2's default keep-all-versions, ONE lifecycle rule {fileNamePrefix:"pods/", daysFr…
What you will need
Asked for at install. Stored in your pod, never on our servers.
- B2 application key (keyID:applicationKey)Your B2 application key as keyID:applicationKey — the keyID, a colon, then the applicationKey (B2 shows the applicationKey only once, when the key is created).…
- {{name}} B2 application keySecretB2 application key for the b2_api connector, stored as keyID:applicationKey. Used only to sign in (b2_authorize_account); the token it returns is held in pod m…