Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 15328 ideas, 75068 comments, 1387413 votes

Idea #3052: easy migration to new or second PC



up
164
down
Written by th_bone the 4 Mar 08 at 11:25. Category: Installation.
Related to: Nothing/Others. Status: New
Description
Hi,

as time goes by - my ubuntu version is heavely changed from the beginning - new programms installed via synaptic, apt-get, etc. and much changes made to the desktop and config files..

so I really miss and think it was a big improvement to have a easy way to clone a installed and configured ubuntu to another PC

maybe a one click tool - save/restore all changes done since
first installation

or cooler

sync a PC thru network to the same configuration -> would be very helpful for admins


Tags: (none)

Attachments
No attachments.


Duplicates


Comments
Johannes Mockenhaupt wrote on the 4 Mar 08 at 11:38
This is already being worked on:
http://brainstorm.ubuntu.com/idea/1/

probono wrote on the 4 Mar 08 at 11:49
This is not about "backup and restore" documents and settings. It is about "cloning" the entire system (imaging like Norton Ghost), and about having Ubuntu's hardware detection running on the system being cloned to.

Johannes Mockenhaupt wrote on the 4 Mar 08 at 12:23
Thanks for clearing that up. Your comment, especially the term 'cloning', makes your idea much clearer (at least to me).

stylewarz wrote on the 4 Mar 08 at 13:58
You are probably looking for something like the migration tool that mac osx has. There you can connect the two macs with a firewire cable and clone everything. files, programms, settings, users usw.. just everything.

http://www.pictureline.com/newsletter/2004/july/pdf/Migrationtool.pdf

UBfusion wrote on the 4 Mar 08 at 14:37
I think it's a very good idea.

I used to have this PC on dual boot and then I decided to use a second PC just for Ubuntu. I had already invested a lot of time in configuring this installation and it would be a shame to have to duplicate this work on the second PC.

In addition, the same utility could help the easy migration of an existing (single or dual boot) installation to a new bigger drive within the same PC, in case you run out of HDD space.

thed00d wrote on the 4 Mar 08 at 16:02
This idea has some great potential. Should have different (many) ways of cloning to the destination machine, i.e ethernet/firewire/usb. What about taking into account not just subtle hardware changes - like a different ethernet card, video card, etc... - but also significant changes, like 64-bit vs. 32-bit arch.

antistress wrote on the 4 Mar 08 at 20:59
Having all softwares matching the directory structure specs made by freedesktop.org should be a first step http://www.freedesktop.org/wiki/Specifications/basedir-spec

see also :
http://ploum.frimouvy.org/?184-cleaning-user-preferences-keeping-user-data

The default for $XDG_CONFIG_HOME is $HOME/.config, the default for $XDG_DATA_HOME is $HOME/.local/share. So all applications should look for those environment variables and use those default vaulues if the variables are not set.


mr_step wrote on the 5 Mar 08 at 01:28
I think cloning might be a mistake (after all that can already be done easily enough).

What would be ideal would be able to install a new system, keeping your user data + system data + a list of installed packages.

You could effectively re-insteall/recreate your system with a fresh copy of all your apps and data. I don't know how many times I've had to do a reinstall, and work my way through the list of packages I've installed gradually over time as I remember them.

This would work as an alternative to upgrading, I nearly always do a fresh install instead of upgrading on the spot.

Even just being able to say "Do a clean install, then reinstall all my packages, then copy over my home folder" would be a nice middle ground.

This would allow avoiding conflicts in architectures, versions, pretty much everything (except changes in config files).


rallen71366 wrote on the 5 Mar 08 at 05:43
Re-installing packages into a fresh install is already easy to do using "AptOnCD". It creates a self-extracting archive of all installed package files that can be stored. Extensions of this package might allow additional options: saving config files, home dirs, or a full ghost image.

dan.fernandez wrote on the 5 Mar 08 at 09:11
More than AptOnCd, the idea whould be to connect the two computer by network. Then, the "export" application (ExAp from now on) would pick a list of packages installed, passing it to the new machine; then while the new computer is installing those packages (non-available ones could be "repackaged" and send over local network), the ExAp would check what files are included on packages and what not, so that "alien" files can be packaged and sent over to the new machine, along with the /home and /etc content.

Quite too much of a challenge for my programming skills (my "bash" scripts are in php, go figure...). Any python guru in the room?


Post your comment