Skip to main content
Updated May 10, 2026 Manages a Raff snapshot — a point-in-time capture of a VM disk or a volume. Once taken, the source binding (resource_type, vm_id, volume_id) is immutable — Terraform owns the snapshot’s lifecycle (rename, delete). Restore is an imperative operation; use raff snapshot restore when you need it.

Example — VM snapshot

Example — volume snapshot

Argument reference

Required

Optional (one required, depending on resource_type)

Attribute reference (computed)

Lifecycle

Importing existing snapshots

Permissions

The API key needs snapshot.create, snapshot.manage, and snapshot.delete in the project. The system role Project Admin grants all of these.

Data sources

raff_backup

Heavier-weight backup with retention.

raff_volume

Block storage volumes.

CLI: raff snapshot

Imperative equivalent.
Last modified on May 11, 2026