Forrest logo
back to the qmrestore tool

qmrestore:tldr:ad93b

qmrestore: Restore the virtual machine from a given backup file on specific storage.
$ qmrestore ${path-to-vzdump-qemu-100-vma-lzo} ${100} --storage ${local}
try on your machine

This command is using the "qmrestore" utility to restore a backup of a QEMU/KVM virtual machine.

Here's a breakdown of the command:

  • "qmrestore": This is the name of the utility that is being executed.
  • "${path-to-vzdump-qemu-100-vma-lzo}": This is the path to the backup file of the virtual machine you want to restore. You need to replace "${path-to-vzdump-qemu-100-vma-lzo}" with the actual file path.
  • "${100}": This is the ID or name of the virtual machine you are restoring. You need to replace "${100}" with the actual ID or name of the VM.
  • "--storage ${local}": This specifies the storage location for the restore operation. In this case, it is using the "local" storage. You can replace "${local}" with the name of your desired storage location.

Essentially, this command is using the "qmrestore" utility to restore a specific backup file of a virtual machine onto a specific storage location.

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