canasta backup restore
From Canasta Wiki
canasta backup restore
Restore a backup
Synopsis
Restore a Canasta instance from a backup snapshot. By default, a safety snapshot is taken before restoring. The restore replaces configuration files, extensions, images, skins, public_assets, .env, docker-compose.override.yml, my.cnf, and all wiki databases with the contents of the specified snapshot.
Use -w/--wiki to restore only a single wiki's database, per-wiki settings, images, and public assets from the backup, leaving shared files untouched.
canasta backup restore [flags]
Examples
canasta backup restore -s abc123
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--id |
-i |
Canasta instance ID | * | Both | |
--skip-safety-backup |
Skip taking a safety snapshot before restore | Both | |||
--snapshot |
-s |
Snapshot ID | ✓ | Both | |
--wiki |
-w |
Restore only this wiki's database and per-wiki files | 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 |