Add VM snapshot export/import functionality #185

Closed
opened 2024-08-16 10:51:36 -04:00 by joshuaboniface · 1 comment

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.

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.
joshuaboniface added the
Client
API
CLI
feature
labels 2024-08-16 10:51:36 -04:00
Author
Owner

This functionality has now been implemented, due for release in 0.9.99. 5 commands are now present:

  1. pvc vm snapshot create will create a snapshot, either an automatic datestring or a name.
  2. pvc vm snapshot remove will remove a snapshot.
  3. pvc vm snapshot rollback will roll back a (stopped) VM to the given snapshot.
  4. pvc vm snapshot exportwill export a snapshot to a given path (on the primary coordinator).
  5. 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.

This functionality has now been implemented, due for release in 0.9.99. 5 commands are now present: 1. `pvc vm snapshot create` will create a snapshot, either an automatic datestring or a name. 2. `pvc vm snapshot remove` will remove a snapshot. 3. `pvc vm snapshot rollback` will roll back a (stopped) VM to the given snapshot. 4. `pvc vm snapshot export`will export a snapshot to a given path (on the primary coordinator). 5. `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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: parallelvirtualcluster/pvc#185
No description provided.