Re: Best Backup Method for Re-Install?
Depends on how dirty your system is.
I'm always pretty careful about where I put things, meaning I don't just go editing files all over the system.
Before any backup or upgrade I always do this:
- Stick in an external drive like a USB drive, or another partition that will not be known to the new installer.
- tar -czf /my/backup/etc.tgz /etc
- Export all my email addresses into an external form into my home directory somewhere.
- Export my firefox bookmarks just in case.
- Same with anything else that has a funky configuration that might have problems with an upgrade.
- cp -prd /home /my/backup/home
- copy anything related to configuration or data in /var, like /var/www if you have a web server.
- copy anything in /opt that you put there yourself.
For /etc I zip it so I have a mostly non-corruptible copy of what was there. For /home and others I don't zip because I will be taking things out of there piecemeal and just want everything backed up, and sometimes my home directory gets too big to zip.
I generally do NOT pull settings over into my new directory. It often causes more trouble than it's worth. Firefox and evolution are usually pretty good but they aren't always entirely trouble-free.
You can always try direct replacement of configuration files, but it may not work well.
Help stamp out MBR partition tables. Use GPT instead!