canasta export

From Canasta Wiki

canasta > export

canasta export

Export the database of a wiki in a Canasta instance

Synopsis

Export a wiki's database as a SQL dump file. The instance must be running. By default the dump is saved to <wikiID>.sql in the current directory. Use a .gz extension on the output path to get a gzip-compressed dump.

canasta export [flags]

Examples

canasta export -w main
canasta export -w main -f backup.sql.gz

Flags

Flag Shorthand Description Default Required Orchestrator
--file -f Output file path (default: <wikiID>.sql, use .gz for compression) Both
--id -i Canasta instance ID * Both
--wiki -w ID of the wiki to export 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