My trick is this:
Any file change on any .conf file, I made a copy of it with .original, like - httpd.conf.original.
When its time to do fresh install, I run:
For my backup, I only backup /var /etc /home
Check my backup script in my sig. I have a two drive that is raid 0 and a third drive for backup only.