canasta backup databases remove
From Canasta Wiki
canasta > backup > backup databases > remove
canasta backup databases remove
Stop including a database in a wiki's backups
Synopsis
Remove a database from a wiki's backup group. The wiki's own database cannot be removed — every backup includes it.
Takes effect on the next backup. Snapshots already taken keep the database they captured, so a restore from one of them still brings it back.
MediaWiki's own database account loses access to the database at once on Compose, and on Kubernetes when the instance next restarts or, on a gitops-managed instance, when the change is pushed and synced.
canasta backup databases remove [flags] DATABASE
Examples
canasta backup databases remove mywiki_cargo
Arguments
| Argument | Description | Default | Required | Orchestrator |
|---|---|---|---|---|
DATABASE |
Name of the database to drop from the group | ✓ | Both |
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--id |
-i |
Canasta instance ID | * | Both | |
--wiki |
-w |
Wiki the database belongs to (required on a farm) | Both |
* Defaults to the Canasta instance matching the current directory, if any.
Global flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |