]> git.proxmox.com Git - pve-docs.git/blame - vzdump.1-synopsis.adoc
add section about container images/templates
[pve-docs.git] / vzdump.1-synopsis.adoc
CommitLineData
1f554f76
DM
1*vzdump* `help`
2
3*vzdump* `{<vmid>}` `[OPTIONS]`
4
5Create backup.
6
7`<vmid>` `string` ::
8
9The ID of the VM you want to backup.
10
11`-all` `boolean` (default=`0`)::
12
13Backup all known VMs on this host.
14
15`-bwlimit` `integer (0 - N)` ::
16
17Limit I/O bandwidth (KBytes per second).
18
19`-compress` `(0 | 1 | gzip | lzo)` (default=`lzo`)::
20
21Compress dump file.
22
23`-dumpdir` `string` ::
24
25Store resulting files to specified directory.
26
27`-exclude` `string` ::
28
29exclude specified VMs (assumes --all)
30
31`-exclude-path` `string` ::
32
33exclude certain files/directories (shell globs).
34
35`-ionice` `integer (0 - 8)` ::
36
37Set CFQ ionice priority.
38
39`-lockwait` `integer (0 - N)` ::
40
41Maximal time to wait for the global lock (minutes).
42
43`-mailnotification` `(always | failure)` (default=`always`)::
44
45Specify when to send an email
46
47`-mailto` `string` ::
48
49no description available
50
51`-maxfiles` `integer (1 - N)` ::
52
53Maximal number of backup files per VM.
54
55`-mode` `(snapshot | stop | suspend)` (default=`stop`)::
56
57Backup mode.
58
59`-node` `string` ::
60
61Only run if executed on this node.
62
63`-pigz` `integer` (default=`0`)::
64
65Uses pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as
66thread count.
67
68`-quiet` `boolean` (default=`0`)::
69
70Be quiet.
71
72`-remove` `boolean` (default=`1`)::
73
74Remove old backup files if there are more than 'maxfiles' backup files.
75
76`-script` `string` ::
77
78Use specified hook script.
79
80`-size` `integer (500 - N)` ::
81
82LVM snapshot size in MB.
83
84`-stdexcludes` `boolean` (default=`1`)::
85
86Exclude temorary files and logs.
87
88`-stdout` `boolean` ::
89
90Write tar to stdout, not to a file.
91
92`-stop` `boolean` (default=`0`)::
93
94Stop runnig backup jobs on this host.
95
96`-stopwait` `integer (0 - N)` ::
97
98Maximal time to wait until a VM is stopped (minutes).
99
100`-storage` `string` ::
101
102Store resulting file to this storage.
103
104`-tmpdir` `string` ::
105
106Store temporary files to specified directory.
107