Manage VM backups and recurring backup schedules from the CLI — on-demand backups (create, restore, delete) and schedules (daily/weekly with retention).
Use this file to discover all available pages before exploring further.
Updated May 10, 2026The raff backup command group covers managed backups of VMs — full point-in-time copies of the VM’s disk, stored separately from the VM. Restoring overwrites the source VM’s current disk state. Schedules manage their own retention and auto-prune older backups. Every subcommand supports --output json for scripting. Alias: raff backups.
Take an on-demand backup of a VM. The call returns immediately with the backup record and a queued status; backups run asynchronously. Poll with raff backup get to wait for ready. If --name is omitted, the API generates a timestamped name.
Delete a backup. Pass --force to skip the confirmation prompt. Backups created by a schedule are managed by the retention engine — don’t manually delete them or you’ll fight the schedule.
Create a recurring backup schedule. Required: --vm-id, --frequency. --day is required when frequency is weekly. --time defaults to 08:00; --keep defaults to 7 and controls how many backups are retained before auto-pruning.