Clatter LabsHelp Center

How do I back up a bucket with the API?

How-toUpdated
curl $CB/v1/buckets/BUCKET_ID/backups \
  -H "Authorization: Bearer $CLATTER_API_KEY" -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID" \
  -H "Content-Type: application/json" -d '{"name": "Before checkout rewrite"}'
  • Needs the backups:write permission.
  • Names can be up to 80 characters.
  • The response includes code_ref, how many objects and files it covers, and their total bytes.

Every account has 1 backup on every plan. See the next steps if you already have one.

Learn more#

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.