Backups ignoring changes to vzdump.conf

dazzla76

Member
Jun 3, 2020
2
0
6
48
Hi,

I'm pretty new to Promox but I think I am doing things as documented.

I'm trying to backup a VM and exclude everything under /media. I've set vzdump.conf to include:

Code:
exclude-path: "/media/.+"

But when I test its seems to still include files in the /media path. I created a small test machine, touched a file, backed up, removed the file and then restored. I was expecting the file to not exist but there it was.

Any help would be appreciated. thank you
 
The manpage (man vzdump) specifies the following:
Code:
--exclude-path <string>
           Exclude certain files/directories (shell globs).
So try "/media/*" instead.
 
Thank you, I tried that but it doesn't seem to have any effect.

Code:
grep  -v '^#' /etc/vzdump.conf

exclude-path: "/media/*"

I am initiating it from the GUI if that matters, its using snapshot by default according to the menu option.