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.
Subcommand index
list
--status filter is applied client-side. Output columns: ID, NAME, SOURCE VM, SIZE, STATUS, CREATED.
get
create
raff backup get to wait for ready. If --name is omitted, the API generates a timestamped name.
restore
--force to skip the confirmation prompt — required in scripts.
delete
--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.
schedule list
ID, NAME, SOURCE VM, FREQUENCY, KEEP, RUNTIME. Alias: raff backup schedules list.
schedule get
schedule create
--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.
schedule update
schedule delete
Related
Snapshot commands
Lighter-weight point-in-time snapshots.
raff_backup_schedule (Terraform)
Declarative recurring backups.
raff_backup (Terraform)
Declarative one-shot backups.