Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170810

vzdump exclude file types?

$
0
0
Hello,

vzdump manual shows one can use regex to exclude directories/files.

Quote:


EXCLUSIONS (OpenVZ only)
vzdump skips the following files wit option --stdexcludes

/var/log/.+
/tmp/.+
/var/tmp/.+
/var/run/.+pid

You can manually specify exclude paths, for example:

# vzdump 777 --exclude-path C</tmp/.+> --exclude-path C</var/tmp/.+>

(only excludes tmp directories)

Configuration files are also stored inside the backup archive (/etc/vzdump), and will be correctly restored.

But how the command should look like when i want to exclude lets say .tar.gz and .zip files in all directories of VMs?
(I want to do frequent backups without these files and less often backups including everything)

Viewing all articles
Browse latest Browse all 170810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>