CLI:Canasta backup

From canasta

canasta > backup

canasta backup

Backup and restore Canasta installations

Synopsis

Manage backups of a Canasta installation. Subcommands allow you to initialize a backup repository, create and restore backups, list and compare backups, and schedule recurring backups. Requires RESTIC_REPOSITORY (or AWS S3 settings) and RESTIC_PASSWORD to be configured in the installation's .env file.

Subcommands

This command requires a subcommand:

  • check — Check backup repository integrity
  • create — Create a backup
  • delete — Delete a backup
  • diff — Show difference between two backups
  • files — List files in a backup
  • init — Initialize a backup repository
  • list — List backups
  • purge — Remove old backups based on retention policy
  • restore — Restore a backup
  • schedule — Manage scheduled backups
  • unlock — Remove locks other processes created

Flags

Flag Shorthand Description Default Required
--help -h help for backup
--id -i Canasta instance ID instance associated with current directory
--verbose -v Verbose output