Tuesday, 31 October 2017

linux - How can I backup a Ubuntu system and restore it on another maching with completely different hardware?


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?



Answer



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.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...