← 返回命令列表

Linux command

qmrestore 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Restore

qmrestore path/to/vzdump-qemu-100.vma.lzo 100

Force

qmrestore path/to/vzdump-qemu-100.vma.lzo 100 --force true

Example

qmrestore path/to/vzdump-qemu-100.vma.lzo 100 --storage local

Live restore

qmrestore path/to/vzdump-qemu-100.vma.lzo 100 --live-restore true

说明

qmrestore restores QEMU virtual machines from vzdump backup archives. It can restore to the original storage or a different target storage. Live restore feature allows starting the VM immediately while the restore continues in the background, available only with Proxmox Backup Server.

参数

--force _true|false_
Overwrite existing VM with same ID
--storage _name_
Target storage for restored disks
--live-restore _true|false_
Start VM immediately while restoring in background (PBS only)

FAQ

What is the qmrestore command used for?

qmrestore restores QEMU virtual machines from vzdump backup archives. It can restore to the original storage or a different target storage. Live restore feature allows starting the VM immediately while the restore continues in the background, available only with Proxmox Backup Server.

How do I run a basic qmrestore example?

Run `qmrestore path/to/vzdump-qemu-100.vma.lzo 100` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --force _true|false_ do in qmrestore?

Overwrite existing VM with same ID