DAAKYI Cloud
|

Developer Documentation

Build on DAAKYI Cloud

DocsStorageSnapshots

Snapshots

Point-in-time copies of VMs and disks for instant rollback.

A snapshot freezes the state of a VM or an individual disk at a moment in time. Creation is near-instant regardless of disk size because the platform records changes made after the snapshot rather than copying data upfront.

VM Snapshots vs Disk Snapshots

TypeCapturesTypical use
VM snapshotAll disks, configuration, and optionally memory stateBefore OS patches, upgrades, application releases
Disk snapshotA single diskBefore schema migrations on a data disk; creating new disks from a known state

Taking and Rolling Back

1

Take a snapshot

Compute → your VM → Snapshots → Take Snapshot. Include memory if you want to return to the exact running state; skip memory for a crash-consistent disk-only point.

2

Make your change

Patch, upgrade, or reconfigure with confidence.

3

Roll back if needed

Select the snapshot → Revert. The VM returns to the captured state in seconds. If all went well, delete the snapshot instead to release space.

Scheduled Snapshot Policies

Under Storage → Snapshot Policies, define automatic schedules — for example hourly snapshots kept for 24 hours plus daily snapshots kept for 7 days — and assign the policy to VMs. Retention is enforced automatically.

bash
# Create a snapshot via API
curl -X POST "https://api.daakyicloud.com/v1/vms/vm-0a3f8b2c/snapshots" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"name": "pre-upgrade-2026-06-14", "include_memory": false}'

Good Practice

  • Keep snapshot chains short — long chains slow disk I/O; delete snapshots once a change is validated
  • Snapshots share the fate of primary storage — they are rollback points, not backups
  • With guest tools installed, snapshots quiesce the file system for application-consistent capture

For protection that survives storage-level incidents and deletion, use backup policies and CDP — see the Backup & Recovery section.

We use essential cookies to make this site work, and optional analytics cookies to improve it. See our Privacy Policy.