From 3ac221c13d99acedb38928c62b3d33e83a8b0c1a Mon Sep 17 00:00:00 2001 From: Braintelligence Date: Sun, 9 Oct 2022 23:51:45 +0200 Subject: [PATCH] qmrestore: add examples (#8790) --- pages/linux/qmrestore.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pages/linux/qmrestore.md b/pages/linux/qmrestore.md index cc0a41ca7..1b130ec83 100644 --- a/pages/linux/qmrestore.md +++ b/pages/linux/qmrestore.md @@ -1,8 +1,20 @@ # qmrestore -> Restore QemuServer vzdump Backups. +> Restore QemuServer vzdump backups. > More information: . -- Restore KVM-based virtual machine to local storage: +- Restore virtual machine from given backup file on the original storage: -`qmrestore {{/var/lib/vz/dump/backup_file.vma.lzo}} {{vm_id}} --storage {{local}}` +`qmrestore {{path/to/vzdump-qemu-100.vma.lzo}} {{100}}` + +- Overwrite existing virtual machine from a given backup file on the original storage: + +`qmrestore {{path/to/vzdump-qemu-100.vma.lzo}} {{100}} --force true` + +- Restore the virtual machine from a given backup file on specific storage: + +`qmrestore {{path/to/vzdump-qemu-100.vma.lzo}} {{100}} --storage {{local}}` + +- 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`