Virtuozzo 7 supports restoring backups of Virtuozzo 6 VMs and containers to Virtuozzo 7 servers.
The following rules and considerations apply:
- Restore commands are run on the destination server (to which the backups will be restored).
- Only stopped virtual machines and containers can be restored from backup.
- Backups of virtual machines and containers with guests unsupported in Virtuozzo 7 may not be restored correctly.
- VZFS-based containers must be converted to ploop format and backed up again before they can be restored to Virtuozzo 7.
To restore a specific backup stored on a remote Virtuozzo 6 server, do the following:
-
Find out the backup ID by listing backups stored on the remote Virtuozzo 6 server:
# prlctl backup-list -s root@<VZ6_server> -
Specify the found backup ID in the restore command:
# prlctl restore -t <backup_ID> -s root@<VZ6_server>
To restore a remotely stored backup of a Virtuozzo 6 VM or container after said VM or container has been migrated to a Virtuozzo 7 server, run
# prlctl restore <VM_or_CT_name_or_UUID> -s root@<VZ6_server>
To copy a Virtuozzo 6 VM or container backup to a Virtuozzo 7 server and restore it there, do the following:
-
Find out the backup ID by listing backups stored on the Virtuozzo 6 server:
# prlctl backup-list root@<VZ6_server> -
Find out the default backup directory on the Virtuozzo 7 server:
prlsrvctl info | grep "Backup path" -
Copy backup files to the default backup directory on the Virtuozzo 7 server. For example, if backups are stored in the default directory on a Virtuozzo 6 server, run:
# scp -r root@<VZ6_server>:/var/parallels/backups/<VM_UUID> \ /vz/vmprivate/backups/Or, if you keep backups on network storage, attach said network storage to the default backup directory on the Virtuozzo 7 server. For example, if you store backups on an NFS share, mount this share to
/vz/vmprivate/backups/. -
Restore the copied backup:
# prlctl restore -t <backup_ID>