5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-03-09 08:58:19 +03:00
pve-docs/vzdump.1-synopsis.adoc

131 lines
3.2 KiB
Plaintext
Raw Normal View History

2016-01-05 11:14:03 +01:00
*vzdump* `help`
*vzdump* `{<vmid>}` `[OPTIONS]`
Create backup.
2016-11-05 16:49:43 +01:00
`<vmid>`: `<string>` ::
2016-01-05 11:14:03 +01:00
2016-04-15 16:49:00 +02:00
The ID of the guest system you want to backup.
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--all` `<boolean>` ('default =' `0`)::
2016-01-05 11:14:03 +01:00
2016-04-15 16:49:00 +02:00
Backup all known guest systems on this host.
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--bwlimit` `<integer> (0 - N)` ('default =' `0`)::
2016-01-05 11:14:03 +01:00
Limit I/O bandwidth (KBytes per second).
`--compress` `<0 | 1 | gzip | lzo | zstd>` ('default =' `0`)::
2016-01-05 11:14:03 +01:00
Compress dump file.
2017-10-19 09:30:23 +02:00
`--dumpdir` `<string>` ::
2016-01-05 11:14:03 +01:00
Store resulting files to specified directory.
2017-10-19 09:30:23 +02:00
`--exclude` `<string>` ::
2016-01-05 11:14:03 +01:00
2016-04-15 16:49:00 +02:00
Exclude specified guest systems (assumes --all)
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--exclude-path` `<string>` ::
2016-01-05 11:14:03 +01:00
Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory.
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--ionice` `<integer> (0 - 8)` ('default =' `7`)::
2016-01-05 11:14:03 +01:00
Set CFQ ionice priority.
2017-10-19 09:30:23 +02:00
`--lockwait` `<integer> (0 - N)` ('default =' `180`)::
2016-01-05 11:14:03 +01:00
Maximal time to wait for the global lock (minutes).
2017-10-19 09:30:23 +02:00
`--mailnotification` `<always | failure>` ('default =' `always`)::
2016-01-05 11:14:03 +01:00
Specify when to send an email
2017-10-19 09:30:23 +02:00
`--mailto` `<string>` ::
2016-01-05 11:14:03 +01:00
Comma-separated list of email addresses or users that should receive email notifications.
2016-01-05 11:14:03 +01:00
`--maxfiles` `<integer> (1 - N)` ::
2016-01-05 11:14:03 +01:00
Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system.
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--mode` `<snapshot | stop | suspend>` ('default =' `snapshot`)::
2016-01-05 11:14:03 +01:00
Backup mode.
2017-10-19 09:30:23 +02:00
`--node` `<string>` ::
2016-01-05 11:14:03 +01:00
Only run if executed on this node.
`--notes-template` `<string>` ::
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.
+
NOTE: Requires option(s): `storage`
`--performance` `[max-workers=<integer>]` ::
Other performance-related settings.
2017-10-19 09:30:23 +02:00
`--pigz` `<integer>` ('default =' `0`)::
2016-01-05 11:14:03 +01:00
2016-05-19 16:14:05 +02:00
Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.
2016-01-05 11:14:03 +01:00
`--pool` `<string>` ::
Backup all known guest systems included in the specified pool.
`--protected` `<boolean>` ::
If true, mark backup(s) as protected.
+
NOTE: Requires option(s): `storage`
`--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`)::
Use these retention options instead of those from the storage configuration.
2017-10-19 09:30:23 +02:00
`--quiet` `<boolean>` ('default =' `0`)::
2016-01-05 11:14:03 +01:00
Be quiet.
2017-10-19 09:30:23 +02:00
`--remove` `<boolean>` ('default =' `1`)::
2016-01-05 11:14:03 +01:00
Prune older backups according to 'prune-backups'.
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--script` `<string>` ::
2016-01-05 11:14:03 +01:00
Use specified hook script.
2017-10-19 09:30:23 +02:00
`--stdexcludes` `<boolean>` ('default =' `1`)::
2016-01-05 11:14:03 +01:00
2016-04-15 16:49:00 +02:00
Exclude temporary files and logs.
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--stdout` `<boolean>` ::
2016-01-05 11:14:03 +01:00
Write tar to stdout, not to a file.
2017-10-19 09:30:23 +02:00
`--stop` `<boolean>` ('default =' `0`)::
2016-01-05 11:14:03 +01:00
Stop running backup jobs on this host.
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--stopwait` `<integer> (0 - N)` ('default =' `10`)::
2016-01-05 11:14:03 +01:00
2016-04-15 16:49:00 +02:00
Maximal time to wait until a guest system is stopped (minutes).
2016-01-05 11:14:03 +01:00
2017-10-19 09:30:23 +02:00
`--storage` `<string>` ::
2016-01-05 11:14:03 +01:00
Store resulting file to this storage.
2017-10-19 09:30:23 +02:00
`--tmpdir` `<string>` ::
2016-01-05 11:14:03 +01:00
Store temporary files to specified directory.
`--zstd` `<integer>` ('default =' `1`)::
Zstd threads. N=0 uses half of the available cores, N>0 uses N as thread count.