Forrest logo
back to the qmrestore tool

qmrestore:tldr:b4a88

qmrestore: Overwrite existing virtual machine from a given backup file on the original storage.
$ qmrestore ${path-to-vzdump-qemu-100-vma-lzo} ${100} --force true
try on your machine

This command is using the "qmrestore" tool to restore a virtual machine backup in Proxmox VE, a virtualization platform.

Here is the breakdown of the command:

  • "qmrestore": It is the command-line tool used to restore virtual machine backups in Proxmox VE.
  • "${path-to-vzdump-qemu-100-vma-lzo}": This is a variable that represents the path to the backup file of the virtual machine you want to restore. The backup file is in the "vzdump-qemu" format and compressed using LZO compression.
  • "${100}": This is another variable representing the ID of the virtual machine you want to restore. In this case, the ID is set to 100. Replace this number with the actual ID of the desired virtual machine.
  • "--force true": This option is used to force the restore process, even if there are conflicts or issues. By setting it to "true," the command ensures that the restoration proceeds regardless of any potential warnings.

By executing this command, the backup file specified by the provided path will be restored to the specified virtual machine ID, overriding any existing data if necessary.

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