Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm setting up rsnapshot to backup a production LAMP server. These are the directories that currently are going to be backed up.

  • /home
  • /etc
  • /usr/local
  • /root
  • /var

What directories can I exclude from /var? Anything else that should be backed up/excluded?

Side: Is there a problem backing up to /var/backups?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You can probably skip /var/run, but that directory holds so little data, it's probably not worth skipping.

Sure, you can back up to /var/backup (or whatever location you wish, really). Just be careful exclude your /var/backup from your backup sets otherwise you'll get into a recursive backup situation, which isn't good.

Additionally, I assume that /var/backup is on local disk? If so, make sure to consider how you'll get the contents of /var/backup off of local disk to a remote location somehow. Needless to say, those backups won't do you a bit of good on local disk if you have a hard drive failure or filesystem corruption.

share|improve this answer
    
Thanks! The server is in the Rackspace cloud, and is using their backup also. But yes, the local backups will be backed up to another server in that cloud. –  Znarkus Sep 19 '10 at 20:37
add comment

Your Answer

 
discard

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.