Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just completed my Ubuntu installation. It contains all packages I need and I configured my apps correctly.

I would like to backup this installation and be able to restore it to different computers with different hardware.

I have read that the solution would be the following:

1- Save a list of the installed packages.
2- Backup the home directory.

3- Install the same version of Ubuntu on the new machine.
4- Restore the list of installed packages on the new machine.
5- Restore the backup of the home directory on the new machine.

Would this keep all of my insalled softwares and their configurations?

share|improve this question
up vote 1 down vote accepted

That should indeed restore all software and their settings, as they are stored inside your home folder (don't forget to copy the hidden folder, because that's where the configuration files are kept!). The applications that are run as root however, will most probably lose their configuration this way.
Just a little hint to prevent trouble, choose the same username and password on the target machine as you did on the machien where you copied everything from. Choosing the same host name would be a good idea as well, I think.

share|improve this answer
Could you explain me how to copy and restore the home folder with the hidden folder? – ReAzem Nov 8 '11 at 18:35
Just press CTRL+H in the file manager to see hidden folders, they're the ones starting with a .. – RobinJ Nov 8 '11 at 18:41
You may want to grab a copy of the /etc directory as well since that is where most of the system configurations go(firewall, apache, package repositories, etc.) /etc is also fairly small so it won't take up much space. – chuck Nov 8 '11 at 19:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .