Skip to content

Backups

Manage database and filesystem backups for your cloud environments.

The CLI supports two backup types:

  • database — backs up your database (default)
  • filesystem — backs up persistent storage volumes

All backup commands default to database type. Use --type filesystem to work with filesystem backups.

Terminal window
qc backup list
FlagDescription
--type <type>Backup type: database or filesystem (default: database)
--jsonOutput as JSON
--org <org>Override organization
--app <app>Override application
--env <env>Override environment
--platform <platform>Override active platform
Terminal window
# List database backups
qc backup list
# List filesystem backups
qc backup list --type filesystem
# Output as JSON for scripting
qc backup list --json
Terminal window
qc backup create

If run without flags, the CLI prompts you to select the backup type and enter a description.

FlagDescription
--type <type>Backup type: database or filesystem (default: database)
--description <text>Description for the backup
--org <org>Override organization
--app <app>Override application
--env <env>Override environment
--platform <platform>Override active platform
Terminal window
# Interactive: prompts for type and description
qc backup create
# Non-interactive
qc backup create --type database --description "Pre-deployment backup"
# Filesystem backup
qc backup create --type filesystem --description "Before storage migration"
Terminal window
qc backup download [backupId]

If no backup ID is provided, the CLI shows a list of completed backups to choose from.

FlagDescription
--type <type>Backup type: database or filesystem (default: database)
--output <path>Output directory (default: ./downloads)
--org <org>Override organization
--app <app>Override application
--env <env>Override environment
--platform <platform>Override active platform
Terminal window
# Interactive: select from available backups
qc backup download
# Download a specific backup by ID
qc backup download bk-abc123
# Download to a custom directory
qc backup download --output ./my-backups
Terminal window
qc backup delete

Presents a list of backups to select from, then asks for confirmation before deleting.

FlagDescription
--type <type>Backup type: database or filesystem (default: database)
--org <org>Override organization
--app <app>Override application
--env <env>Override environment
--platform <platform>Override active platform