Skip to content

qc backup

Manage backups for the active environment. Quant Cloud supports two backup types: database (default) and filesystem. For a walkthrough including restore patterns, see the backups guide.

Command Description
qc backup list List available backups.
qc backup create Create a new backup.
qc backup download Download a backup to local disk.
qc backup delete Delete a backup.

All backup subcommands accept --org, --app, --env, and --platform overrides, plus a --type flag that selects database (default) or filesystem.


List available backups for the active environment.

Terminal window
qc backup list [options]
Flag Description Default
--type <type> Backup type: database or filesystem. database
--json Output as JSON (machine-readable).
--org <org> Override organization.
--app <app> Override application.
--env <env> Override environment.
--platform <platform> Override platform.
Terminal window
# Database backups (default)
qc backup list
# Filesystem backups
qc backup list --type filesystem
# JSON for scripting
qc backup list --json

Create a new backup of the active environment.

Terminal window
qc backup create [options]
Flag Description Default
--type <type> Backup type: database or filesystem. database
--description <description> Human-readable description for the backup.
--org <org> Override organization.
--app <app> Override application.
--env <env> Override environment.
--platform <platform> Override platform.
Terminal window
# Database backup with description
qc backup create --description "Pre-migration snapshot"
# Filesystem backup
qc backup create --type filesystem --description "Before plugin upgrade"

Download a backup to the local filesystem.

Terminal window
qc backup download [backupId] [options]
Name Description
backupId The ID of the backup to download.
Flag Description Default
--type <type> Backup type: database or filesystem. database
--output <path> Output directory. ./downloads
--org <org> Override organization.
--app <app> Override application.
--env <env> Override environment.
--platform <platform> Override platform.
Terminal window
# Download to ./downloads
qc backup download abc123
# Download to a specific path
qc backup download abc123 --output ~/backups/

Delete a backup.

Terminal window
qc backup delete [options]
Flag Description Default
--type <type> Backup type: database or filesystem. database
--org <org> Override organization.
--app <app> Override application.
--env <env> Override environment.
--platform <platform> Override platform.
Terminal window
qc backup delete
  • Backups guide — end-to-end backup and restore flows.
  • qc env — manage the environments backups belong to.