CLI:Canasta backup create
From canasta
canasta backup create
Create a backup
Synopsis
Create a new backup snapshot of the Canasta installation. This dumps each wiki's database (read from wikis.yaml), stages configuration files, extensions, images, skins, and public_assets into a Docker volume, along with .env, docker-compose.override.yml, and my.cnf (if present), then uploads the snapshot to the backup repository with the specified tag.
canasta backup create [flags]
Examples
# Create a backup with a descriptive tag canasta backup create -i myinstance -t before-upgrade
Flags
| Flag | Shorthand | Description | Default | Required |
|---|---|---|---|---|
--help |
-h |
help for create | ||
--tag |
-t |
Backup tag | ✓ | |
--id |
-i |
Canasta instance ID | instance associated with current directory | |
--verbose |
-v |
Verbose output |