Previous page

Next page

Locate page in Contents

Print this page

Deleting a Snapshot

In Parallels Server Bare Metal, you can use the pctl snapshot-delete command to delete those snapshots that you do not need any more. Assuming that you want to delete the snapshot with ID {903c12ea-f6e6-437a-a2f0-a1d02eed4f7e} for the MyVM virtual machine, you can run this command:

# pctl snapshot-delete MyVM --id {903c12ea-f6e6-437a-a2f0-a1d02eed4f7e}

Deleting the snapshot...

The snapshot has been successfully deleted.

When you delete a parent snapshot, its children are not deleted, and the information the parent snapshot contains is merged into them.

For example, the following session demonstrates the process of deleting the snapshot with ID {903c12ea-f6e6-437a-a2f0-a1d02eed4f7e} acting as a parent for another snapshot:

# pctl snapshot-list MyVM

PARENT_SNAPSHOT_ID SNAPSHOT_ID

{989f3415-3e30-4494-936e-a0bbc104bd20}

{989f3415-3e30-4494-936e-a0bbc104bd20} {063615fa-f2a0-4c14-92d4-4c935df15840}

{063615fa-f2a0-4c14-92d4-4c935df15840} *{58c9941e-f232-4273-892a-82e836536889}

# pctl snapshot-delete MyVM --id {903c12ea-f6e6-437a-a2f0-a1d02eed4f7e}

Deleting the snapshot...

The snapshot has been successfully deleted.

# pctl snapshot-list MyVM

PARENT_SNAPSHOT_ID SNAPSHOT_ID

{063615fa-f2a0-4c14-92d4-4c935df15840}

{063615fa-f2a0-4c14-92d4-4c935df15840} *{58c9941e-f232-4273-892a-82e836536889}