Skip to main content
Alias: oc cp

oc checkpoint create <sandbox-id>

Create a named checkpoint of a running sandbox. HTTP API →
--name
string
required
Checkpoint name
--retention-policy
string
default:"none"
Optional retention policy. Use delete_oldest to delete the oldest eligible checkpoint before creating this one.
--retention-max-count
int
default:"10"
Maximum checkpoints of this type to keep when --retention-policy delete_oldest is set. Must be between 1 and 10 for full checkpoints, or 1 and 100 for disk-only checkpoints.

oc checkpoint list <sandbox-id>

List checkpoints for a sandbox. HTTP API → Output columns: ID, NAME, STATUS, SIZE, CREATED

oc checkpoint restore <sandbox-id> <checkpoint-id>

Revert a sandbox in-place to a checkpoint. All changes since the checkpoint are lost. HTTP API →

oc checkpoint spawn <checkpoint-id>

Create a new sandbox from a checkpoint (fork). HTTP API →
--timeout
int
default:"300"
Idle timeout for the new sandbox

oc checkpoint delete <sandbox-id> <checkpoint-id>

Delete a checkpoint. HTTP API →