I have two Ubuntu server which I want to synchronize so that I can run the second server when the first server is down. I want to do the synchronization using rsync. But I read, not all the directories (for example /boot and hardware specific files) are not supposed to be synchronized. Can someone tell me exactly which files and directories I need to exclude before doing full synchronization?


Just don't backup things that aren't really files

/proc, /sys, /dev

You also may want to stay away from extra disks (like USB disks) or network mounts that you don't want being copied.

This question has more details

Linux - What directories should I exclude when backing up a server?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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