User`s guide

40
Deleting a Virtual Machine and
Container
You can delete a virtual machine and Container that is not needed anymore using the pctl
delete command. Notice that you cannot delete a running or mounted virtual machine and
Container. The example below illustrates deleting Container 101 and the MyVM virtual machine:
Deleting Container 101
# pctl delete 101
Deleting Container private area: /vz/private/101
Container is currently mounted (unmount first)
# pctl stop 101
Stopping Container...
Container was stopped
Container is unmounted
# pctl delete 101
Deleting Container private area: /vz/private/101
Container private area was deleted
Deleting the MyVM virtual machine:
# pctl delete MyVM
Deleting the VM...
VM is currently running
# pctl stop MyVM
Stopping the VM...
VM was stopped
# pctl delete MyVM
Deleting the VM...
Container was deleted
Managing Virtual Machine and
Container Backups
A regular backing up of the existing virtual machines and Containers is essential for any
physical server reliability. In Parallels Server Bare Metal, you can use the following utilities to
back up and restore your virtual machines and Containers:
pctl
pbackup
prestore
Detailed information on these utilities is provided in the following subsections.