X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=vzdump.conf.5-opts.adoc;h=0f4dde92b1f08af3992bb42fd203ba4014538b36;hb=81de7382b02c0a78a8a1e83bac6b30b39d4baa6b;hp=6bf86159047c3b2f043cd3fb5985537278403d2d;hpb=013dc89ffce47b8c55412c016a508205768b4fd6;p=pve-docs.git diff --git a/vzdump.conf.5-opts.adoc b/vzdump.conf.5-opts.adoc index 6bf8615..0f4dde9 100644 --- a/vzdump.conf.5-opts.adoc +++ b/vzdump.conf.5-opts.adoc @@ -2,7 +2,7 @@ Limit I/O bandwidth (KBytes per second). -`compress`: `<0 | 1 | gzip | lzo>` ('default =' `0`):: +`compress`: `<0 | 1 | gzip | lzo | zstd>` ('default =' `0`):: Compress dump file. @@ -12,7 +12,7 @@ Store resulting files to specified directory. `exclude-path`: `` :: -Exclude certain files/directories (shell globs). +Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory. `ionice`: ` (0 - 8)` ('default =' `7`):: @@ -28,23 +28,71 @@ Specify when to send an email `mailto`: `` :: -Comma-separated list of email addresses that should receive email notifications. +Comma-separated list of email addresses or users that should receive email notifications. -`maxfiles`: ` (1 - N)` ('default =' `1`):: +`maxfiles`: ` (1 - N)` :: -Maximal number of backup files per guest system. +Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system. `mode`: `` ('default =' `snapshot`):: Backup mode. +`notes-template`: `` :: + +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. ++ +NOTE: Requires option(s): `storage` + `pigz`: `` ('default =' `0`):: Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count. +`pool`: `` :: + +Backup all known guest systems included in the specified pool. + +`protected`: `` :: + +If true, mark backup(s) as protected. ++ +NOTE: Requires option(s): `storage` + +`prune-backups`: `[keep-all=<1|0>] [,keep-daily=] [,keep-hourly=] [,keep-last=] [,keep-monthly=] [,keep-weekly=] [,keep-yearly=]` ('default =' `keep-all=1`):: + +Use these retention options instead of those from the storage configuration. + +`keep-all`=`` ;; + +Keep all backups. Conflicts with the other options when true. + +`keep-daily`=`` ;; + +Keep backups for the last different days. If there is morethan one backup for a single day, only the latest one is kept. + +`keep-hourly`=`` ;; + +Keep backups for the last different hours. If there is morethan one backup for a single hour, only the latest one is kept. + +`keep-last`=`` ;; + +Keep the last backups. + +`keep-monthly`=`` ;; + +Keep backups for the last different months. If there is morethan one backup for a single month, only the latest one is kept. + +`keep-weekly`=`` ;; + +Keep backups for the last different weeks. If there is morethan one backup for a single week, only the latest one is kept. + +`keep-yearly`=`` ;; + +Keep backups for the last different years. If there is morethan one backup for a single year, only the latest one is kept. + `remove`: `` ('default =' `1`):: -Remove old backup files if there are more than 'maxfiles' backup files. +Prune older backups according to 'prune-backups'. `script`: `` :: @@ -66,3 +114,7 @@ Store resulting file to this storage. Store temporary files to specified directory. +`zstd`: `` ('default =' `1`):: + +Zstd threads. N=0 uses half of the available cores, N>0 uses N as thread count. +