canasta backup databases

From canasta

canasta > backup > databases

canasta backup databases

Manage which databases a wiki's backup captures

Synopsis

Manage the databases a wiki's backup dumps. Every backup includes the wiki's own database; these subcommands add and remove the extra ones, for data an extension keeps in a database of its own (Cargo's $wgCargoDBname).

A wiki and its extra databases are dumped by one mariadb-dump call, so they share a transaction and are captured at the same moment. The declaration lives in config/wikis.yaml and is carried by backups and gitops alike.

Subcommands

This command requires a subcommand:

  • add — Include another database in a wiki's backups
  • list — Show which databases each wiki's backup dumps
  • remove — Stop including a database in a wiki's backups

Global flags

Flag Shorthand Description Default Required Orchestrator
--help -h Show help message and exit Both
--verbose -v Enable verbose output Both