Skip to content

checkpoints

space cp is the same as space checkpoints. Checkpoint names are unique in the organization. See the Checkpoints guide.

A checkpoint has any number of tags, and a tag may be on several checkpoints. Tags look like names (1 to 63 of a-z 0-9 . _ -, starting with a letter or digit) and never equal one: a tag can’t be the name of a checkpoint in the organization, and a new checkpoint can’t be named after a tag. Wherever a command takes a checkpoint, a tag that only one checkpoint has stands in for its name; <machine>:<tag> picks that machine’s checkpoint with the tag, and space machines restore looks among the machine’s own checkpoints. A tag on several is refused, naming them.

space checkpoints list

space checkpoints list

Name, tags, source machine (its name, or its id if the machine is gone), state and creation time of every checkpoint in the organization.

space checkpoints create

space checkpoints create <machine> <name> [--tag <tag>]... [--unique] [--wait [--timeout <seconds>]]

Checkpoints the machine’s disk as <name>, with the tags given (--tag, repeated for more). --unique moves them: the machine’s other checkpoints lose them, so of this machine’s checkpoints only the new one has them (--tag latest --unique keeps latest on its newest). Other machines’ checkpoints keep theirs: <machine>:latest picks this machine’s. --wait until the checkpoint is committed (--timeout <seconds>, default 600); a checkpoint that ends up failed or is deleted while waiting exits with code 5.

space checkpoints tag

space checkpoints tag <checkpoint> <tag>... [--unique]

Adds the tags to the checkpoint and prints its name and tags. --unique takes them off the machine’s other checkpoints. Adding a tag it has already changes nothing.

space checkpoints untag

space checkpoints untag <checkpoint> <tag>...

Removes the tags from the checkpoint and prints its name and the tags it has left.

space checkpoints delete

space checkpoints delete <name> [-y|--yes]

Deletes the checkpoint and prints <name>: deleting. Machines created from it keep working. Asks for confirmation on a terminal unless --yes, and refuses without --yes when not on a terminal.

Checkpoint states

StateMeaning
creatingBeing taken.
committedReady: can be restored and used with machines create --from.
failedCould not be taken, or lost with its host before it was saved (where disks are on the hosts).
deleting, deletedBeing deleted, gone.
retainedDeleted, but kept internally while machines created from it still need it.
Last updated on