How do I use rsync to backup the fedora os?

view story

http://forums.fedoraforum.org – I'm learning to use rsync. I read it is a good idea to back up the operating system settings along with the scripts I wrote. Things like configuration files, users, etc. That way, if a crash occurs, I don't have to rewrite the code or rebuild the operating system. Is there a way for a working fedora os to hold a copy of it's own files (as a backup) without executing them? I don't want an os running on top of an os. Can someone give me an example of a shell script that would do this? Thank you (HowTos)