Skip to main content
Updated May 10, 2026 The 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

List backups in the current project. The --status filter is applied client-side. Output columns: ID, NAME, SOURCE VM, SIZE, STATUS, CREATED.

get

Show full details — source VM, size, status, expiration date.

create

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.

restore

Restore the source VM from this backup. The current disk state is overwritten. Pass --force to skip the confirmation prompt — required in scripts.

delete

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.

schedule list

List recurring backup schedules in the current project. Output columns: ID, NAME, SOURCE VM, FREQUENCY, KEEP, RUNTIME. Alias: raff backup schedules list.

schedule get

schedule create

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.

schedule update

Update one or more schedule fields. At least one flag must be provided.

schedule delete

Delete a schedule. Existing backups it created remain in the project — delete them manually if you no longer need them.

Snapshot commands

Lighter-weight point-in-time snapshots.

raff_backup_schedule (Terraform)

Declarative recurring backups.

raff_backup (Terraform)

Declarative one-shot backups.
Last modified on May 11, 2026