Snapshots¶
ZFS disk snapshots of a machine's root volume. Cloud product guide: Snapshots.
Base URL: https://api.sistemo.io · authentication required. Mutations need full scope.
Take¶
curl -X POST "https://api.sistemo.io/v1/machines/$ID/snapshots" \
-H "Authorization: Bearer $SISTEMO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"before-change"}'
Returns the snapshot object (201).
List for machine¶
List for account¶
Restore¶
Machine must be stopped. Destructive in-place rollback. Fails if newer snapshots exist.
Delete¶
409 if a machine was deployed from this snapshot and still depends on it.
Create machine from snapshot¶
Placement is pinned to the snapshot's host. See Machines.
Delete machine with snapshots¶
Without delete_snapshots=true, delete returns 409 if snapshots remain. See Machines — Delete.