Forrest logo
back to the qmrestore tool

qmrestore:tldr:6e9ee

qmrestore: Start virtual machine immediately from the backup while restoring in the background (only on Proxmox Backup Server).
$ qmrestore ${path-to-vzdump-qemu-100-vma-lzo} ${100} --live-restore true
try on your machine

The command "qmrestore" is a command-line tool used in the Proxmox Virtual Environment (PVE) to restore Virtual Machine (VM) backups.

Here is the explanation of each part of the command:

  • "qmrestore": This is the command itself, specifying that we want to restore a VM backup.
  • "${path-to-vzdump-qemu-100-vma-lzo}": This is the placeholder for the path to the backup file of the VM we want to restore. You need to replace "${path-to-vzdump-qemu-100-vma-lzo}" with the actual path to your backup file.
  • "${100}": This is the placeholder for the VM ID that we want to assign to the restored VM. In this example, "${100}" should be replaced with the desired ID.
  • "--live-restore true": This is an option that tells the restoration process to perform a live restore, meaning it will attempt to restore the VM while it is still running. This option is useful when the VM is critical and needs to be restored without any downtime. Setting "--live-restore false" would perform an offline restore instead.

Please note that you need to have the necessary privileges and use the appropriate syntax to run this command successfully. Make sure to replace the placeholders with the correct values based on your specific setup.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the qmrestore tool