canasta backup

From Canasta Wiki
Revision as of 19:45, 26 April 2026 by WikiSysop (talk | contribs) (Update Canasta CLI reference)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

canasta > backup

canasta backup

Backup and restore Canasta instances

Synopsis

Manage backups of a Canasta instance. Subcommands 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 instance'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
  • unlock — Remove locks other processes created

Global Flags

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