vzdump help
vzdump {<vmid>} [OPTIONS]
Create backup.
<vmid>string-
The ID of the VM you want to backup.
-allboolean(default=0)-
Backup all known VMs on this host.
-bwlimitinteger (0 - N)-
Limit I/O bandwidth (KBytes per second).
-compress(0 | 1 | gzip | lzo)(default=lzo)-
Compress dump file.
-dumpdirstring-
Store resulting files to specified directory.
-excludestring-
exclude specified VMs (assumes --all)
-exclude-pathstring-
exclude certain files/directories (shell globs).
-ioniceinteger (0 - 8)-
Set CFQ ionice priority.
-lockwaitinteger (0 - N)-
Maximal time to wait for the global lock (minutes).
-mailnotification(always | failure)(default=always)-
Specify when to send an email
-mailtostring-
no description available
-maxfilesinteger (1 - N)-
Maximal number of backup files per VM.
-mode(snapshot | stop | suspend)(default=stop)-
Backup mode.
-nodestring-
Only run if executed on this node.
-pigzinteger(default=0)-
Uses pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.
-quietboolean(default=0)-
Be quiet.
-removeboolean(default=1)-
Remove old backup files if there are more than 'maxfiles' backup files.
-scriptstring-
Use specified hook script.
-sizeinteger (500 - N)-
LVM snapshot size in MB.
-stdexcludesboolean(default=1)-
Exclude temorary files and logs.
-stdoutboolean-
Write tar to stdout, not to a file.
-stopboolean(default=0)-
Stop runnig backup jobs on this host.
-stopwaitinteger (0 - N)-
Maximal time to wait until a VM is stopped (minutes).
-storagestring-
Store resulting file to this storage.
-tmpdirstring-
Store temporary files to specified directory.