# Backup Command Manage backups for database attachments. ## gordon backup ```bash gordon backup ``` Subcommands: - `list [domain]` - List backups globally or for one domain - `run [--db ]` - Trigger an immediate backup - `detect ` - Detect supported databases for a domain - `status` - Show backup status across domains > **Note:** Backup commands currently require remote mode (`--remote` + `--token`, or configured remotes). > > `gordon backup run ` auto-selects the database only when exactly one supported DB attachment is detected. If multiple DB attachments are present, pass `--db `. In normal usage, configure remotes once (`gordon remotes ...`) and run backup commands without per-command remote flags. ## Examples ```bash # List all backups gordon backup list # List backups for one domain gordon backup list app.example.com # Trigger backup (auto-detect when exactly one DB attachment exists) gordon backup run app.example.com # Trigger backup for specific attachment name gordon backup run app.example.com --db postgres # Detect DB attachments gordon backup detect app.example.com # Status summary gordon backup status ``` ## Output Columns ### list ```text \t\t\t\t ``` ### detect ```text \t\t\t\t ``` ### status ```text \t\t\t ``` ### run ```text \t\t\t\t\t ``` ## Required Permissions - Read operations (`list`, `status`, `detect`) require `admin:status:read`. - `run` requires `admin:config:write`. ## Related - [CLI Commands](./index.md) - [Backups Configuration](../config/backups.md)