Add VM snapshot export/import functionality #185
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As an extension to #184, implement VM snapshot export and import. Mostly, this will involve porting the current VM backup/restore functionality to act with the snapshots, rather than this functionality implicitly creating said snapshots. Eventual goal is to work this functionality towards #169 to permit direct cross-cluster export/import.
This functionality has now been implemented, due for release in 0.9.99. 5 commands are now present:
pvc vm snapshot create
will create a snapshot, either an automatic datestring or a name.pvc vm snapshot remove
will remove a snapshot.pvc vm snapshot rollback
will roll back a (stopped) VM to the given snapshot.pvc vm snapshot export
will export a snapshot to a given path (on the primary coordinator).pvc vm snapshot import
will import a snapshot from a given path (on the primary coordinator).All 5 are implemented as
pvcworkerd
commands due to their runtime and to provide progress feedback in the CLI client.