1

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' [email protected]:/ /

Question(s):

  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?

2 Answers 2

4

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

/sys
/proc
/tmp
/var/run
/var/lock
/dev
/mnt
# The following are stolen from Womble:
/var/cache
/var/tmp
/var/spool
1
  • I still get the kernel panic when excluding the mentioned folders
    – ricbax
    Nov 18, 2009 at 1:09
3

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

3
  • 1
    You could have just put that in a comment on his post, I guess! Nov 17, 2009 at 16:23
  • 1
    Or he could have taken all of mine, and then I get no points. We like to share points :-) Nov 17, 2009 at 16:28
  • 1
    I could have done a lot of things.
    – womble
    Nov 17, 2009 at 16:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .