I've recently installed an SSD to my system and moved part of my Linux installation to it. To be on the safe side, I want to backup my whole root filesystem with rsync (just a clone, no versioning, no incremental backup or anything) but I've some problems in my mind.
- My filesystem is distributed. /var and /tmp is on different disks.
- I know some root directories are virtual but do I need to exclude them? (/proc, /dev, etc.)
- If I exclude them, do I need to create dummy / blank versions on backup drive?
- Or is there any simple tool to automate this process.
The question is, can I simply use rsync with a bunch of switches and excludes to backup a live linux system or should I use any other tools to do that?
Thanks in advance.
P.S: I'm fluent in Linux. Advanced / tricky methods are not a problem.
dd
?