User`s guide
Operations on Virtual Machines and Containers 44
Restore a Virtual Machine and Container
To restore a backup of a virtual machine and Container, you can use the pctl restore
command. This command supports restoring backups to the Source Server only. For example, to
restore a backup of the MyVM virtual machine stored on the Backup Server with the IP address
of 10.10.100.1, you can run this command on the Source Node:
# pctl restore MyVM -s root:1qaz2wsx@10.10.100.1
If you have two or more backups of the MyVM virtual machine, the latest backup is restored. If
you want to restore a particular virtual machine and Container backup, you need to specify the
ID of this backup. You can use the pctl backup-list command to list the existing
backups and the IDs assigned to them:
# pctl backup-list -s root:1qaz2wsx@10.10.100.1
ID Backup_ID
Node Date Type Size
{c1dee22f-8667-4870-9e11-278f1398eab0} {209d54a0-e3b8-4a03-9ca8-d4cc7a2a27ca}
test.com 2009-06-30 10:19:32 i 11566405
{c1dee22f-8667-4870-9e11-278f1398eab0} {24a3011c-092e-4f21-bb3b-29ccfe967e92}
test.com 2009-05-21 11:12:35 f 356798701
You can now indicate the desired ID after the -t option to tell pctl backup to restore this
particular backup. For example, to restore the backup for the virtual machine with the ID of
c1dee22f-8667-4870-9e11-278f1398eab0 that was created on the 21st of May, you
can execute this command:
# pctl restore -t {c1dee22f-8667-4870-9e11-278f1398eab0} -s
root:1qaz2wsx@10.10.100.1










