vzdump: Same updates as in pve-manager

Update stdexclude list and --exclude-path option description
to the shell-glob version.
This commit is contained in:
Wolfgang Bumiller 2016-03-03 10:02:55 +01:00
parent fc1090efc7
commit bf01f882bd

View File

@ -116,14 +116,14 @@ File Exclusions
First, this option is only available for container backups. 'vzdump' First, this option is only available for container backups. 'vzdump'
skips the following files with option `--stdexcludes` skips the following files with option `--stdexcludes`
/var/log/.+ /var/log/?*
/tmp/.+ /tmp/?*
/var/tmp/.+ /var/tmp/?*
/var/run/.+pid /var/run/?*pid
Or you can manually specify exclude paths, for example: Or you can manually specify exclude paths, for example:
# vzdump 777 --exclude-path '/tmp/.+' --exclude-path '/var/tmp/.+' # vzdump 777 --exclude-path /tmp/ --exclude-path '/var/foo*'
(only excludes tmp directories) (only excludes tmp directories)