{ "meta": { "title": "Proxmox Backup Commands — vzdump, qmrestore, pct restore | ProxMenux", "description": "Reference of Proxmox VE backup and restore commands: vzdump for VMs and LXC containers, qmrestore for VMs, pct restore for containers, scheduled backups in /etc/pve/jobs.cfg, hook scripts and exclude paths.", "ogTitle": "Proxmox Backup Commands — vzdump, qmrestore, pct restore", "ogDescription": "Reference of vzdump, qmrestore and pct restore commands for backing up and restoring Proxmox VMs and LXC containers.", "twitterTitle": "Proxmox Backup Commands | ProxMenux", "twitterDescription": "vzdump, qmrestore and pct restore commands for backing up and restoring Proxmox VMs and containers." }, "header": { "title": "Backup and Restore", "description": "Curated reference of vzdump, qmrestore and pct restore commands for Proxmox backup workflows. Includes scheduling, advanced options like hook scripts / exclude paths / I/O priority, and backup file management.", "section": "Help and Info" }, "intro": { "title": "Three backup modes", "body": "snapshot uses a live snapshot — guest stays running, briefly pauses I/O. suspend freezes the VM during backup (safer than snapshot for non-snapshot-aware FS). stop shuts down the VM, backs up cold, restarts. Pick by guest tolerance and storage capability." }, "commandGroups": [ { "title": "VM Backup", "commands": [ { "command": "vzdump ", "description": "Create a backup of a specific VM/CT" }, { "command": "vzdump --storage ", "description": "Backup VM to specific storage" }, { "command": "vzdump --mode snapshot", "description": "Create snapshot backup (for VMs)" }, { "command": "vzdump --mode suspend", "description": "Suspend VM during backup" }, { "command": "vzdump --mode stop", "description": "Stop VM during backup" }, { "command": "vzdump --all", "description": "Backup all VMs and containers" }, { "command": "vzdump --exclude ,", "description": "Backup all except specified VMs" } ] }, { "title": "Backup Options", "commands": [ { "command": "vzdump --compress zstd", "description": "Use zstd compression for backup" }, { "command": "vzdump --pigz ", "description": "Use pigz with multiple threads" }, { "command": "vzdump --notes ", "description": "Add notes to backup" }, { "command": "vzdump --mailto ", "description": "Send notification email" }, { "command": "vzdump --maxfiles ", "description": "Keep only n backups per VM" }, { "command": "vzdump --stdexcludes 0", "description": "Don't exclude temporary files" }, { "command": "vzdump --quiet 1", "description": "Suppress output messages" } ] }, { "title": "Restore Backups", "commands": [ { "command": "qmrestore ", "description": "Restore VM from backup" }, { "command": "qmrestore --storage ", "description": "Restore to specific storage" }, { "command": "qmrestore --unique", "description": "Create a VM with unique ID" }, { "command": "pct restore ", "description": "Restore container from backup" }, { "command": "pct restore --storage ", "description": "Restore container to specific storage" }, { "command": "pct restore --rootfs ", "description": "Restore to specific rootfs" }, { "command": "pct restore --unprivileged 1", "description": "Restore as unprivileged CT" } ] }, { "title": "Backup Management", "commands": [ { "command": "ls -la /var/lib/vz/dump/", "description": "List backups in default location" }, { "command": "find /var/lib/vz/dump/ -name \"*.vma*\"", "description": "Find VM backups" }, { "command": "find /var/lib/vz/dump/ -name \"*.tar*\"", "description": "Find container backups" }, { "command": "pvesm list ", "description": "List backups in specific storage" }, { "command": "rm /var/lib/vz/dump/", "description": "Delete a backup file" }, { "command": "cat /etc/vzdump.conf", "description": "Show backup configuration" } ] }, { "title": "Scheduled Backups", "commands": [ { "command": "cat /etc/cron.d/vzdump", "description": "Show backup schedule" }, { "command": "nano /etc/vzdump.conf", "description": "Edit backup configuration" }, { "command": "systemctl list-timers", "description": "List all scheduled tasks" }, { "command": "systemctl status cron", "description": "Check cron service status" }, { "command": "grep vzdump /var/log/syslog", "description": "Check backup logs in syslog" }, { "command": "tail -f /var/log/vzdump.log", "description": "Monitor backup log in real-time" } ] }, { "title": "Advanced Operations", "commands": [ { "command": "qmrestore --force", "description": "Force restore, overwriting existing VM" }, { "command": "vzdump --dumpdir ", "description": "Specify custom backup directory" }, { "command": "vzdump --script