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