Book Image

Proxmox High Availability

By : CHENG MAN
Book Image

Proxmox High Availability

By: CHENG MAN

Overview of this book

Table of Contents (15 chapters)
Proxmox High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The restore process of VMs in Proxmox


We have gone through different types of backup modes provided by the vzdump command and created different backup files for our VMs. However, we won't stop here because our target is to restore the VMs when there is a problem. This is the main reason we would like to perform a backup. Let's learn about it step by step.

Restoring a VM with vzrestore

In the previous section, we created our own backup files for VM 100 and VM 101 under /backup/dump. Now, it's time for us to practice restoring a VM from those backup files. We can restore the container with the vzrestore command or via the web management console. The following section shows the restore procedures when you choose to restore a VM using the command line with the vzrestore command.

Restoring an OpenVZ container with vzrestore

To avoid overwriting the existing VM data, we will restore it to VMID401. The steps for this are as follows:

  1. Make sure that we have the backup file at /backup/dump. The filename...