3 *vzdump* `{<vmid>}` `[OPTIONS]`
7 `<vmid>`: `<string>` ::
9 The ID of the guest system you want to backup.
11 `--all` `<boolean>` ('default =' `0`)::
13 Backup all known guest systems on this host.
15 `--bwlimit` `<integer> (0 - N)` ('default =' `0`)::
17 Limit I/O bandwidth (in KiB/s).
19 `--compress` `<0 | 1 | gzip | lzo | zstd>` ('default =' `0`)::
23 `--dumpdir` `<string>` ::
25 Store resulting files to specified directory.
27 `--exclude` `<string>` ::
29 Exclude specified guest systems (assumes --all)
31 `--exclude-path` `<array>` ::
33 Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory.
35 `--fleecing` `[[enabled=]<1|0>] [,storage=<storage ID>]` ::
37 Options for backup fleecing (VM only).
39 `--ionice` `<integer> (0 - 8)` ('default =' `7`)::
41 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.
43 `--lockwait` `<integer> (0 - N)` ('default =' `180`)::
45 Maximal time to wait for the global lock (minutes).
47 `--mailnotification` `<always | failure>` ('default =' `always`)::
49 Deprecated: use notification targets/matchers instead. Specify when to send a notification mail
51 `--mailto` `<string>` ::
53 Deprecated: Use notification targets/matchers instead. Comma-separated list of email addresses or users that should receive email notifications.
55 `--maxfiles` `<integer> (1 - N)` ::
57 Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system.
59 `--mode` `<snapshot | stop | suspend>` ('default =' `snapshot`)::
63 `--node` `<string>` ::
65 Only run if executed on this node.
67 `--notes-template` `<string>` ::
69 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.
71 NOTE: Requires option(s): `storage`
73 `--notification-mode` `<auto | legacy-sendmail | notification-system>` ('default =' `auto`)::
75 Determine 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.
77 `--notification-policy` `<always | failure | never>` ('default =' `always`)::
79 Deprecated: Do not use
81 `--notification-target` `<string>` ::
83 Deprecated: Do not use
85 `--performance` `[max-workers=<integer>] [,pbs-entries-max=<integer>]` ::
87 Other performance-related settings.
89 `--pigz` `<integer>` ('default =' `0`)::
91 Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.
93 `--pool` `<string>` ::
95 Backup all known guest systems included in the specified pool.
97 `--protected` `<boolean>` ::
99 If true, mark backup(s) as protected.
101 NOTE: Requires option(s): `storage`
103 `--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`)::
105 Use these retention options instead of those from the storage configuration.
107 `--quiet` `<boolean>` ('default =' `0`)::
111 `--remove` `<boolean>` ('default =' `1`)::
113 Prune older backups according to 'prune-backups'.
115 `--script` `<string>` ::
117 Use specified hook script.
119 `--stdexcludes` `<boolean>` ('default =' `1`)::
121 Exclude temporary files and logs.
123 `--stdout` `<boolean>` ::
125 Write tar to stdout, not to a file.
127 `--stop` `<boolean>` ('default =' `0`)::
129 Stop running backup jobs on this host.
131 `--stopwait` `<integer> (0 - N)` ('default =' `10`)::
133 Maximal time to wait until a guest system is stopped (minutes).
135 `--storage` `<storage ID>` ::
137 Store resulting file to this storage.
139 `--tmpdir` `<string>` ::
141 Store temporary files to specified directory.
143 `--zstd` `<integer>` ('default =' `1`)::
145 Zstd 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.