Link to home
Start Free TrialLog in
Avatar of Daniele Brunengo
Daniele BrunengoFlag for Italy

asked on

Copy Ubuntu Home folder to a new installation

Hello, let me say first of all that I'm an Ubuntu newbie. I am trying to do something a customer asked me to do: recover his Home folder from a broken Ubuntu install and copy it (including hidden subfolders) to a new Ubuntu install.

Although the old Ubuntu doesn't boot and doesn't show up as an OS in any way, I can access the drive and see the Home folder using any live cd.

There are hidden folders which I'm not able to copy because I don't have read permissions. So can anybody point me to the best way to copy the whole Home folder somewhere else, as to recover this Ubuntu install? Thanks in advance.
Avatar of Phiwi Moyo
Phiwi Moyo
Flag of Germany image

Ubuntu has a comprehensive step by step for this here.

Preferable, use Ubuntu as your live CD to follow the commands given on the tutorial.
ASKER CERTIFIED SOLUTION
Avatar of TobiasHolm
TobiasHolm
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Daniele Brunengo

ASKER

@ Sikhumbuzo Ntsada: Are you sure this is the right guide? It's about "Use Ubuntu Live CD to Backup Files from Your Dead Windows Computer", but the problem here is with a Ubuntu computer, not Windows. Also, I can mount all drives with no problem, but I can't get permissions to copy the Home folder somewhere else.

@TobiasHolm: I'll try this out and let you know.
Connect both systems. Start SSHD on old.
rsync -avz old:~/ ~/
Thanks, that worked.