Usage
<backup-id> can be the short 10-character ID shown by capsule backup list, or the full UUID from the dashboard.
Finding your backup ID
Runcapsule backup list to see all available backups and their short IDs:
When to run this
The download button on the dashboard gives you the raw
.enc (encrypted) file, which is not directly usable. capsule download decrypts it on the server that holds your key.What it does
- Resolves the short ID to the full UUID if needed
- Fetches the backup from Capsule cloud storage using a short-lived presigned URL
- Decrypts it locally using the AES-256 key stored on your server
- Saves the result as a standard
.sql.gzfile
Example
Flags
After downloading
Restore the file to any connection with:capsule restore for full restore options.
Requirements
- Must be run on the server that originally took the backup, or any server that has imported the same encryption key via
capsule auth --restore - Requires an active license key (
capsule authmust have been run first)
See also
capsule backup list— list backups and find their IDscapsule restore— restore a database from a downloaded filecapsule auth --restore— import an encryption key on a new server