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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!