]> git.proxmox.com Git - pve-docs.git/blame - vzdump.conf.5-opts.adoc
firewall: add documentation for proxmox-firewall
[pve-docs.git] / vzdump.conf.5-opts.adoc
CommitLineData
013dc89f 1`bwlimit`: `<integer> (0 - N)` ('default =' `0`)::
d083d3d3 2
4a407cfd 3Limit I/O bandwidth (in KiB/s).
d083d3d3 4
c5aa7e14 5`compress`: `<0 | 1 | gzip | lzo | zstd>` ('default =' `0`)::
d083d3d3
DM
6
7Compress dump file.
8
013dc89f 9`dumpdir`: `<string>` ::
d083d3d3
DM
10
11Store resulting files to specified directory.
12
4a407cfd 13`exclude-path`: `<array>` ::
d083d3d3 14
c6d5bae8 15Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory.
d083d3d3 16
907e4bc3
TL
17`fleecing`: `[[enabled=]<1|0>] [,storage=<storage ID>]` ::
18
19Options for backup fleecing (VM only).
20
21`enabled`=`<boolean>` ('default =' `0`);;
22
23Enable backup fleecing. Cache backup data from blocks where new guest writes happen on specified storage instead of copying them directly to the backup target. This can help guest IO performance and even prevent hangs, at the cost of requiring more storage space.
24
25`storage`=`<storage ID>` ;;
26
27Use this storage to storage fleecing images. For efficient space usage, it's best to use a local storage that supports discard and either thin provisioning or sparse files.
28
013dc89f 29`ionice`: `<integer> (0 - 8)` ('default =' `7`)::
d083d3d3 30
159464a9 31Set IO priority when using the BFQ scheduler. For snapshot and suspend mode backups of VMs, this only affects the compressor. A value of 8 means the idle priority is used, otherwise the best-effort priority is used with the specified value.
d083d3d3 32
013dc89f 33`lockwait`: `<integer> (0 - N)` ('default =' `180`)::
d083d3d3
DM
34
35Maximal time to wait for the global lock (minutes).
36
013dc89f 37`mailnotification`: `<always | failure>` ('default =' `always`)::
d083d3d3 38
c6d5bae8 39Deprecated: use notification targets/matchers instead. Specify when to send a notification mail
d083d3d3 40
013dc89f 41`mailto`: `<string>` ::
d083d3d3 42
c6d5bae8 43Deprecated: Use notification targets/matchers instead. Comma-separated list of email addresses or users that should receive email notifications.
d083d3d3 44
0695fdaf 45`maxfiles`: `<integer> (1 - N)` ::
d083d3d3 46
0695fdaf 47Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system.
d083d3d3 48
013dc89f 49`mode`: `<snapshot | stop | suspend>` ('default =' `snapshot`)::
d083d3d3
DM
50
51Backup mode.
52
7af2edf9
TL
53`notes-template`: `<string>` ::
54
4e7f60c2 55Template string for generating notes for the backup(s). It can contain variables which will be replaced by their values. Currently supported are \{\{cluster\}\}, \{\{guestname\}\}, \{\{node\}\}, and \{\{vmid\}\}, but more might be added in the future. Needs to be a single line, newline and backslash need to be escaped as '\n' and '\\' respectively.
7af2edf9
TL
56+
57NOTE: Requires option(s): `storage`
58
c6d5bae8
TL
59`notification-mode`: `<auto | legacy-sendmail | notification-system>` ('default =' `auto`)::
60
61Determine which notification system to use. If set to 'legacy-sendmail', vzdump will consider the mailto/mailnotification parameters and send emails to the specified address(es) via the 'sendmail' command. If set to 'notification-system', a notification will be sent via PVE's notification system, and the mailto and mailnotification will be ignored. If set to 'auto' (default setting), an email will be sent if mailto is set, and the notification system will be used if not.
62
82551b2b
TL
63`notification-policy`: `<always | failure | never>` ('default =' `always`)::
64
c6d5bae8 65Deprecated: Do not use
82551b2b
TL
66
67`notification-target`: `<string>` ::
68
c6d5bae8 69Deprecated: Do not use
82551b2b
TL
70
71`performance`: `[max-workers=<integer>] [,pbs-entries-max=<integer>]` ::
4e7f60c2
TL
72
73Other performance-related settings.
74
75`max-workers`=`<integer> (1 - 256)` ('default =' `16`);;
76
77Applies to VMs. Allow up to this many IO workers at the same time.
78
82551b2b
TL
79`pbs-entries-max`=`<integer> (1 - N)` ('default =' `1048576`);;
80
81Applies to container backups sent to PBS. Limits the number of entries allowed in memory at a given time to avoid unintended OOM situations. Increase it to enable backups of containers with a large amount of files.
82
013dc89f 83`pigz`: `<integer>` ('default =' `0`)::
d083d3d3 84
c2993fe5 85Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.
d083d3d3 86
9226ccbc
TL
87`pool`: `<string>` ::
88
89Backup all known guest systems included in the specified pool.
90
7af2edf9
TL
91`protected`: `<boolean>` ::
92
93If true, mark backup(s) as protected.
94+
95NOTE: Requires option(s): `storage`
96
0695fdaf 97`prune-backups`: `[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]` ('default =' `keep-all=1`)::
739d4d64
TL
98
99Use these retention options instead of those from the storage configuration.
100
4772952b
TL
101`keep-all`=`<boolean>` ;;
102
103Keep all backups. Conflicts with the other options when true.
104
739d4d64
TL
105`keep-daily`=`<N>` ;;
106
107Keep backups for the last <N> different days. If there is morethan one backup for a single day, only the latest one is kept.
108
109`keep-hourly`=`<N>` ;;
110
111Keep backups for the last <N> different hours. If there is morethan one backup for a single hour, only the latest one is kept.
112
113`keep-last`=`<N>` ;;
114
115Keep the last <N> backups.
116
117`keep-monthly`=`<N>` ;;
118
119Keep backups for the last <N> different months. If there is morethan one backup for a single month, only the latest one is kept.
120
121`keep-weekly`=`<N>` ;;
122
123Keep backups for the last <N> different weeks. If there is morethan one backup for a single week, only the latest one is kept.
124
125`keep-yearly`=`<N>` ;;
126
127Keep backups for the last <N> different years. If there is morethan one backup for a single year, only the latest one is kept.
128
013dc89f 129`remove`: `<boolean>` ('default =' `1`)::
d083d3d3 130
0695fdaf 131Prune older backups according to 'prune-backups'.
d083d3d3 132
013dc89f 133`script`: `<string>` ::
d083d3d3
DM
134
135Use specified hook script.
136
013dc89f 137`stdexcludes`: `<boolean>` ('default =' `1`)::
d083d3d3
DM
138
139Exclude temporary files and logs.
140
013dc89f 141`stopwait`: `<integer> (0 - N)` ('default =' `10`)::
d083d3d3
DM
142
143Maximal time to wait until a guest system is stopped (minutes).
144
907e4bc3 145`storage`: `<storage ID>` ::
d083d3d3
DM
146
147Store resulting file to this storage.
148
013dc89f 149`tmpdir`: `<string>` ::
d083d3d3
DM
150
151Store temporary files to specified directory.
152
c5aa7e14
TL
153`zstd`: `<integer>` ('default =' `1`)::
154
c6d5bae8 155Zstd threads. N=0 uses half of the available cores, if N is set to a value bigger than 0, N is used as thread count.
c5aa7e14 156