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
Examples¶
# Export a wiki's database to the default file
canasta export -i myinstance -w main
# Export to a specific file
canasta export -i myinstance -w main -f /backups/main-backup.sql
# Export as gzipped SQL
canasta export -i myinstance -w main -f /backups/main-backup.sql.gz
Options¶
| Flag | Shorthand | Description | Default |
|---|---|---|---|
--file |
-f |
Output file path (default: |
|
--help |
-h |
help for export | |
--id |
-i |
Canasta instance ID | |
--wiki |
-w |
ID of the wiki to export |
Options inherited from parent commands¶
| Flag | Shorthand | Description | Default |
|---|---|---|---|
--verbose |
-v |
Verbose output |
SEE ALSO¶
- canasta - A CLI tool for Canasta installations.