In Proxmox, the entire backup and restore process can be managed from the command line if the GUI becomes inaccessible.
Backup/restore through the CLI
Backup using the CLI
The command to commit a backup for both KVM and LXC virtual machines is the same. The following is the command format for a backup:
# vzdump <vmid> <options>
There is a long list of vzdump options that can be used with the command. The following are just a few of the most commonly used ones:
Options |
Description |
-all |
The default value is 0. This option will back up all available virtual machines in a Proxmox node. |
-bwlimit |
This adjusts the backup bandwidth in KBPS. |
-compress |
The default value is LZO. This sets the compression... |