Skip to content

Latest commit

 

History

History
107 lines (54 loc) · 1.83 KB

vzdump.1-synopsis.adoc

File metadata and controls

107 lines (54 loc) · 1.83 KB

vzdump help

vzdump {<vmid>} [OPTIONS]

Create backup.

<vmid> string

The ID of the VM you want to backup.

-all boolean (default=0)

Backup all known VMs on this host.

-bwlimit integer (0 - N)

Limit I/O bandwidth (KBytes per second).

-compress (0 | 1 | gzip | lzo) (default=lzo)

Compress dump file.

-dumpdir string

Store resulting files to specified directory.

-exclude string

exclude specified VMs (assumes --all)

-exclude-path string

exclude certain files/directories (shell globs).

-ionice integer (0 - 8)

Set CFQ ionice priority.

-lockwait integer (0 - N)

Maximal time to wait for the global lock (minutes).

-mailnotification (always | failure) (default=always)

Specify when to send an email

-mailto string

no description available

-maxfiles integer (1 - N)

Maximal number of backup files per VM.

-mode (snapshot | stop | suspend) (default=stop)

Backup mode.

-node string

Only run if executed on this node.

-pigz integer (default=0)

Uses pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as 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.

-size integer (500 - N)

LVM snapshot size in MB.

-stdexcludes boolean (default=1)

Exclude temorary files and logs.

-stdout boolean

Write tar to stdout, not to a file.

-stop boolean (default=0)

Stop runnig backup jobs on this host.

-stopwait integer (0 - N)

Maximal time to wait until a VM is stopped (minutes).

-storage string

Store resulting file to this storage.

-tmpdir string

Store temporary files to specified directory.