Files
cheatsheet-tldr/tldr/linux/qmrestore
2024-10-06 00:18:37 +00:00

26 lines
858 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# qmrestore
> Restore QemuServer `vzdump` backups.
> More information: <https://pve.proxmox.com/pve-docs/qmrestore.1.html>.
- Restore virtual machine from given backup file on the original storage:
`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`