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.
Subcommands
Section titled “Subcommands”| 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.
qc backup list
Section titled “qc backup list”List available backups for the active environment.
Synopsis
Section titled “Synopsis”qc backup list [options]Options
Section titled “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. | — |
Examples
Section titled “Examples”# Database backups (default)qc backup list
# Filesystem backupsqc backup list --type filesystem
# JSON for scriptingqc backup list --jsonqc backup create
Section titled “qc backup create”Create a new backup of the active environment.
Synopsis
Section titled “Synopsis”qc backup create [options]Options
Section titled “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. | — |
Examples
Section titled “Examples”# Database backup with descriptionqc backup create --description "Pre-migration snapshot"
# Filesystem backupqc backup create --type filesystem --description "Before plugin upgrade"qc backup download
Section titled “qc backup download”Download a backup to the local filesystem.
Synopsis
Section titled “Synopsis”qc backup download [backupId] [options]Arguments
Section titled “Arguments”| Name | Description |
|---|---|
backupId |
The ID of the backup to download. |
Options
Section titled “Options”| 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. | — |
Examples
Section titled “Examples”# Download to ./downloadsqc backup download abc123
# Download to a specific pathqc backup download abc123 --output ~/backups/qc backup delete
Section titled “qc backup delete”Delete a backup.
Synopsis
Section titled “Synopsis”qc backup delete [options]Options
Section titled “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. | — |
Example
Section titled “Example”qc backup deleteSee also
Section titled “See also”- Backups guide — end-to-end backup and restore flows.
qc env— manage the environments backups belong to.
