Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to use a CentOS VM for a mirrored full backup of my CentOS mail server. Both are the same version and are up-to-date. I have found that without excluding certain directories the VM backup has kernel panic attacks and fails to load.

I use the following command to start the process:

rsync -avz -Kl -p --numeric-ids --exclude-from=/rsync_exclude.txt -e 'ssh -2 -c blowfish-cbc' /


  1. Will there be any issues with the command being entered above?
  2. Which directories should I include in my "rsync_exclude.txt" to prevent issues on the VM backup?
share|improve this question
up vote 4 down vote accepted

I don't think this is the complete answer, but some are:

# The following are stolen from Womble:
share|improve this answer
I still get the kernel panic when excluding the mentioned folders – ricbax Nov 18 '09 at 1:09

Add /var/cache, /var/tmp, and /var/spool to Kyle's list.

share|improve this answer
You could have just put that in a comment on his post, I guess! – Suppressingfire Nov 17 '09 at 16:23
Or he could have taken all of mine, and then I get no points. We like to share points :-) – Kyle Brandt Nov 17 '09 at 16:28
I could have done a lot of things. – womble Nov 17 '09 at 16:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.