1 `bwlimit`: `<integer> (0 - N)` ('default =' `0`)::
3 Limit I/O bandwidth (in KiB/s).
5 `compress`: `<0 | 1 | gzip | lzo | zstd>` ('default =' `0`)::
9 `dumpdir`: `<string>` ::
11 Store resulting files to specified directory.
13 `exclude-path`: `<array>` ::
15 Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory.
17 `ionice`: `<integer> (0 - 8)` ('default =' `7`)::
19 Set 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.
21 `lockwait`: `<integer> (0 - N)` ('default =' `180`)::
23 Maximal time to wait for the global lock (minutes).
25 `mailnotification`: `<always | failure>` ('default =' `always`)::
27 Deprecated: use 'notification-policy' instead.
29 `mailto`: `<string>` ::
31 Comma-separated list of email addresses or users that should receive email notifications. Has no effect if the 'notification-target' option is set at the same time.
33 `maxfiles`: `<integer> (1 - N)` ::
35 Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system.
37 `mode`: `<snapshot | stop | suspend>` ('default =' `snapshot`)::
41 `notes-template`: `<string>` ::
43 Template 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.
45 NOTE: Requires option(s): `storage`
47 `notification-policy`: `<always | failure | never>` ('default =' `always`)::
49 Specify when to send a notification
51 `notification-target`: `<string>` ::
53 Determine the target to which notifications should be sent. Can either be a notification endpoint or a notification group. This option takes precedence over 'mailto', meaning that if both are set, the 'mailto' option will be ignored.
55 `performance`: `[max-workers=<integer>] [,pbs-entries-max=<integer>]` ::
57 Other performance-related settings.
59 `max-workers`=`<integer> (1 - 256)` ('default =' `16`);;
61 Applies to VMs. Allow up to this many IO workers at the same time.
63 `pbs-entries-max`=`<integer> (1 - N)` ('default =' `1048576`);;
65 Applies 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.
67 `pigz`: `<integer>` ('default =' `0`)::
69 Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.
73 Backup all known guest systems included in the specified pool.
75 `protected`: `<boolean>` ::
77 If true, mark backup(s) as protected.
79 NOTE: Requires option(s): `storage`
81 `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`)::
83 Use these retention options instead of those from the storage configuration.
85 `keep-all`=`<boolean>` ;;
87 Keep all backups. Conflicts with the other options when true.
91 Keep backups for the last <N> different days. If there is morethan one backup for a single day, only the latest one is kept.
93 `keep-hourly`=`<N>` ;;
95 Keep backups for the last <N> different hours. If there is morethan one backup for a single hour, only the latest one is kept.
99 Keep the last <N> backups.
101 `keep-monthly`=`<N>` ;;
103 Keep backups for the last <N> different months. If there is morethan one backup for a single month, only the latest one is kept.
105 `keep-weekly`=`<N>` ;;
107 Keep backups for the last <N> different weeks. If there is morethan one backup for a single week, only the latest one is kept.
109 `keep-yearly`=`<N>` ;;
111 Keep backups for the last <N> different years. If there is morethan one backup for a single year, only the latest one is kept.
113 `remove`: `<boolean>` ('default =' `1`)::
115 Prune older backups according to 'prune-backups'.
117 `script`: `<string>` ::
119 Use specified hook script.
121 `stdexcludes`: `<boolean>` ('default =' `1`)::
123 Exclude temporary files and logs.
125 `stopwait`: `<integer> (0 - N)` ('default =' `10`)::
127 Maximal time to wait until a guest system is stopped (minutes).
129 `storage`: `<string>` ::
131 Store resulting file to this storage.
133 `tmpdir`: `<string>` ::
135 Store temporary files to specified directory.
137 `zstd`: `<integer>` ('default =' `1`)::
139 Zstd threads. N=0 uses half of the available cores, N>0 uses N as thread count.