exclude folders with vzdump

beyondx

New Member
Mar 14, 2008
1
0
1
Hi everyone,

first of all I hope this is the correct location to post the following issue concerning vzdump.

I´m using the newest version to backup my virtual machines, which works smoothly. However I just cannot exclude folders or I am using the totally wrong syntax.
As I could read from the manual I need to use REGEX to exclude folders or files.
How do I exclude the subfolders (and files) of
/var/spool/mqueue and /var/spool/clientmqueue ?
I tried several ways but always failed.

Any help is appreciated.

Regards

Norman
 
--exclude-path '/var/spool/mqueue'
--exclude-path '/var/spool/clientmqueue'

should do the job

- Dietmar
 
Hi,

I can't get this to work. I am trying to exclude the home dir of VE 9999. I am using

vzdump --suspend --dumpdir `pwd` --exclude-path '/home' 9999

but it continues to back up the home dir. Any ideas what I am doing wrong?

Thanks

Jon
 
Actually, it does work. I was using a patched version of vzdump which apparently breaks this functionality.

Thanks
 

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!