I have been studying a backup program to completely backup my linode from off site, to a hard drive on my home computer. RSnapshot seems to be a very good tool.
http://rsnapshot.org/
I am trying to understand what directories off my root that I need to backup. I have heard that sys and dev should never be backed up. A trial run seemed to show a lot of errors in the log, especially from attempting to include /sys
If they are not backed up, and I restore all the other directories to an empty disk image, in the future, will those directories be able to rebuild themselves? Will I have to create empty /sys and /dev directories prior to booting the disk image? Any other directories below I should definately not include in my backup snapshots?
I will be doing the backup off a running system. My goal is to use the backed up files to restore, and get a machine running, exactly as it looked on the backup date, should the need arise, with minimal fuss.
My root directories are below- I'd be interested in any comments or caveats. I'm using Ubuntu 9.10
bin boot dev etc home lib lost+found media mnt opt proc root sbin selinux srv sys tmp usr var