qmrestore: add examples (#8790)

pull/1/head
Braintelligence 2022-10-09 23:51:45 +02:00 committed by GitHub
parent a78e689062
commit 3ac221c13d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 3 deletions

View File

@ -1,8 +1,20 @@
# qmrestore
> Restore QemuServer vzdump Backups.
> Restore QemuServer vzdump backups.
> More information: <https://pve.proxmox.com/pve-docs/qmrestore.1.html>.
- 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`