[PDF] Parallels Server 5 Bare Metal
[PDF] Parallels Server 5 Bare Metal
[PDF] Parallels Server 5 Bare Metal
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Managing Virtual Machines and Containers<br />
Reverting to a Snapshot<br />
You can use the pctl snapshot-switch command to revert to a snapshot. When you revert to<br />
a snapshot, the current state of the virtual machine is discarded, and all changes made to the<br />
system since the previous snapshot are lost. So, before returning to a specific snapshot, you may<br />
first wish to save these states by creating a new snapshot. Refer to the Creating a Snapshot<br />
subsection (p. 84) for information on how you can do it.<br />
The pctl snapshot-switch command requires the virtual machine name and the snapshot ID<br />
to be specified as arguments:<br />
pctl snapshot-switch "Windows XP" --id {cedbc4eb-dee7-42e2-9674-89d1d7331a2d}<br />
Switch to the snapshot...<br />
The VM has been successfully switched.<br />
This command restores the snapshot with ID {cedbc4eb-dee7-42e2-9674-89d1d7331a2d}<br />
for the Windows XP virtual machine.<br />
Deleting a Snapshot<br />
In <strong>Parallels</strong> <strong>Server</strong> <strong>Bare</strong> <strong>Metal</strong>, you can use the pctl snapshot-delete command to delete<br />
those snapshots that you do not need any more. Assuming that you want to delete the snapshot<br />
with ID {903c12ea-f6e6-437a-a2f0-a1d02eed4f7e} for the MyVM virtual machine, you can<br />
run this command:<br />
# pctl snapshot-delete MyVM --id {903c12ea-f6e6-437a-a2f0-a1d02eed4f7e}<br />
Deleting the snapshot...<br />
The snapshot has been successfully deleted.<br />
When you delete a parent snapshot, its children are not deleted, and the information the parent<br />
snapshot contains is merged into them.<br />
For example, the following session demonstrates the process of deleting the snapshot with ID<br />
{903c12ea-f6e6-437a-a2f0-a1d02eed4f7e} acting as a parent for another snapshot:<br />
# pctl snapshot-list MyVM<br />
PARENT_SNAPSHOT_ID SNAPSHOT_ID<br />
{989f3415-3e30-4494-936e-a0bbc104bd20}<br />
{989f3415-3e30-4494-936e-a0bbc104bd20} {063615fa-f2a0-4c14-92d4-4c935df15840}<br />
{063615fa-f2a0-4c14-92d4-4c935df15840} *{58c9941e-f232-4273-892a-82e836536889}<br />
# pctl snapshot-delete MyVM --id {903c12ea-f6e6-437a-a2f0-a1d02eed4f7e}<br />
Deleting the snapshot...<br />
The snapshot has been successfully deleted.<br />
# pctl snapshot-list MyVM<br />
PARENT_SNAPSHOT_ID SNAPSHOT_ID<br />
{063615fa-f2a0-4c14-92d4-4c935df15840}<br />
{063615fa-f2a0-4c14-92d4-4c935df15840} *{58c9941e-f232-4273-892a-82e836536889}<br />
86