Volume Snapshots
On-demand snapshots for service persistent storage volumes.
Volume snapshots capture the state of a service's persistent storage at a point in time. Use them to protect data before risky deployments or to clone storage for testing.
Creating a snapshot
- Navigate to your service's Storage or Backups tab
- Click Create Snapshot
- The snapshot is created in the background (usually seconds for small volumes)
Restoring a snapshot
- Navigate to the Backups tab
- Click Restore next to the snapshot
- Confirm the operation
The service will be restarted during the restore process.
How it works
Volume snapshots use Kubernetes VolumeSnapshot resources backed by the Longhorn CSI driver. Snapshots are copy-on-write, meaning they're fast to create and only consume space for changed blocks.
Pricing
Volume snapshots are billed at $0.10/GB per month for the stored snapshot data. The snapshot size depends on how much data has changed since the snapshot was created.
Best practices
- Take a snapshot before deploying new versions with database migrations
- Take a snapshot before running destructive operations
- Delete old snapshots you no longer need to save on storage costs
- Use snapshots in combination with database backups for full coverage