2016-01-05 13:14:03 +03:00
*vzdump* `help`
*vzdump* `{<vmid>}` `[OPTIONS]`
Create backup.
`<vmid>` `string` ::
2016-04-15 17:49:00 +03:00
The ID of the guest system you want to backup.
2016-01-05 13:14:03 +03:00
`-all` `boolean` (default=`0`)::
2016-04-15 17:49:00 +03:00
Backup all known guest systems on this host.
2016-01-05 13:14:03 +03:00
2016-04-07 09:20:32 +03:00
`-bwlimit` `integer (0 - N)` (default=`0`)::
2016-01-05 13:14:03 +03:00
Limit I/O bandwidth (KBytes per second).
2016-04-15 17:49:00 +03:00
`-compress` `(0 | 1 | gzip | lzo)` (default=`0`)::
2016-01-05 13:14:03 +03:00
Compress dump file.
`-dumpdir` `string` ::
Store resulting files to specified directory.
`-exclude` `string` ::
2016-04-15 17:49:00 +03:00
Exclude specified guest systems (assumes --all)
2016-01-05 13:14:03 +03:00
`-exclude-path` `string` ::
2016-04-15 17:49:00 +03:00
Exclude certain files/directories (shell globs).
2016-01-05 13:14:03 +03:00
2016-04-07 09:20:32 +03:00
`-ionice` `integer (0 - 8)` (default=`7`)::
2016-01-05 13:14:03 +03:00
Set CFQ ionice priority.
2016-04-07 09:20:32 +03:00
`-lockwait` `integer (0 - N)` (default=`180`)::
2016-01-05 13:14:03 +03:00
Maximal time to wait for the global lock (minutes).
`-mailnotification` `(always | failure)` (default=`always`)::
Specify when to send an email
`-mailto` `string` ::
2016-04-15 17:49:00 +03:00
Comma-separated list of email addresses that should receive email
notifications.
2016-01-05 13:14:03 +03:00
2016-04-07 09:20:32 +03:00
`-maxfiles` `integer (1 - N)` (default=`1`)::
2016-01-05 13:14:03 +03:00
2016-04-15 17:49:00 +03:00
Maximal number of backup files per guest system.
2016-01-05 13:14:03 +03:00
2016-04-07 09:20:32 +03:00
`-mode` `(snapshot | stop | suspend)` (default=`snapshot`)::
2016-01-05 13:14:03 +03:00
Backup mode.
`-node` `string` ::
Only run if executed on this node.
`-pigz` `integer` (default=`0`)::
2016-04-15 17:49:00 +03:00
Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as
2016-01-05 13:14:03 +03:00
thread count.
`-quiet` `boolean` (default=`0`)::
Be quiet.
`-remove` `boolean` (default=`1`)::
Remove old backup files if there are more than 'maxfiles' backup files.
`-script` `string` ::
Use specified hook script.
2016-04-07 09:20:32 +03:00
`-size` `integer (500 - N)` (default=`1024`)::
2016-01-05 13:14:03 +03:00
2016-04-15 17:49:00 +03:00
Unused, will be removed in a future release.
2016-01-05 13:14:03 +03:00
`-stdexcludes` `boolean` (default=`1`)::
2016-04-15 17:49:00 +03:00
Exclude temporary files and logs.
2016-01-05 13:14:03 +03:00
`-stdout` `boolean` ::
Write tar to stdout, not to a file.
`-stop` `boolean` (default=`0`)::
Stop runnig backup jobs on this host.
2016-04-07 09:20:32 +03:00
`-stopwait` `integer (0 - N)` (default=`10`)::
2016-01-05 13:14:03 +03:00
2016-04-15 17:49:00 +03:00
Maximal time to wait until a guest system is stopped (minutes).
2016-01-05 13:14:03 +03:00
`-storage` `string` ::
Store resulting file to this storage.
`-tmpdir` `string` ::
Store temporary files to specified directory.