Simple tar based backup command?
I am looking to do a very simple full backup of my Debian box to DVD, to be able to restore if/when I screw something up. I am planning a full backup performed in separate volumes by top level directory (/home, /usr, /var, etc.). Not just /home and /etc because reinstalling and reconfiguring is a major pain.
Is there a well crafted 'tar' command with options that will do the following things?:
1. retain long names and directory structure/relationship,
2. retain the file permissions/ownerships and dates
3. backup the symlinks
4. limit each output file size to reasonable size (via spanning) (1 GB each, or a max. of 4GB on a DVD)
I know not to try to backup: swap, /proc and /mnt directories, but What about /dev? - How do I backup/restore my list of devices?
What about /tmp? - Do I need any data in there for the next boot after a restore?