Originally Posted by kern68
If I was to use a backup my Home directory, would that allow me to restore my system to its current state?
The answer is a resounding "It depends."
If, for example, you are looking to recreate an installation after a system crash, you need to back up much more than your home directory, as crosstalk said. Frankly, that's not worth the effort for the home user--it's easier to reinstall from scratch and then recreate the installation as outlined below.
If you are looking to move files to another computer and replicate the functionality of your home directory or to rebuild the current computer, the answer is sort of.
You can back up the non-hidden files in your home directory to external media, move them to another computer, and recreate them there with no problem. This, however, will not recreate your user configuration, which is normally in hidden directories.
When I back up my home directory, I back up my non-hidden files and select hidden directories for applications for which those hidden directories contain data which I have configured to my own preferences.
These include opera (~/.opera), Pan (~/.pan2), Fluxbox (~/.fluxbox).
Most of the other ~/ dot hidden directories I do not back up, because they do not contain configuration information that I care about. In other words, the default configuration for those items is fine with me.
Once I have the new box ready (or the old box rebuilt), I install the app in question unless it is already there because it was included in the distro (Pan is a good example--many distros include it).
I import the non-hidden contents of my backed up home directory. Bing bang boom all my documents and pictures and spreadsheets and binaries are there.
Now for the hidden files.
I'll use Opera
for an example, since it's not normally included in a Linux distribution.
1. Install Opera.
2. Run Opera once as user (this creates ~/.opera).
3. Rename the default hidden directory in a file manager or from the command line (mv .opera .opera.orig).
4. Copy the backed up .opera folder into place.
5. Run Opera as user to make sure it worked. (If I'm successful, my mail is back, my links are back, my newsgroups are back, my rss feeds are back, my skins are back, everything is back.)
This method has not failed me yet with Opera, Pan, or Fluxbox. With Opera and Pan, this has restored mail stores, newsgroup lists and subscriptions, and all that neat stuff. With Fluxbox, it has restored menus, backgrounds, and other config files (if the menus point to programs that don't exist in the new installation, the menus will still display, but the links to the missing programs will not work--they will just lie there non-responsively).
Nothing like a good "it depends," is there?