'moving' ubuntu to new laptop...

Tom Marshall tommy at home.tig-grr.com
Tue Dec 13 19:16:52 UTC 2005


> I actually had in mind netcat instead of tar:
> 
> oldmachine# tar cvf - bin boot ... | nc newmachine 9876
> newmachine# nc -l -p 9876 | tar xvf -
> 
> Much faster then going trough ssh :)

Sure, anything to pipe data in an 8-bit clean fashion.

> But, I did a fresh install, now I'm seeking for the best way to
> sinchronize packages between two.

See dpkg options --[gs]et-selections, eg:

  # dpkg --get-selections | ssh otherbox "dpkg --set-selections"

Then there is /home, /etc, /var, /usr/local, ...




More information about the ubuntu-users mailing list