My motherboard suddenly died, but it was an old machine(running natty). So I put together a new Ubuntu system with a clean 14.04 install (same username) and mounted the old drive (with the full filesystem) as secondary device.

I could just rsync the home dir from the old drive to the new.

Should I skip hidden files and dirs? Or reinstall software and then paste config data (hidden files and folders) from the old drive on top of the clean installs?

  • 1
    I would copy into (all hidden files and directories) then reinstall the apps associated with the files. – eyoung100 Sep 24 '14 at 16:30
  • @eyoung100 when doing clean install of applications, do they recognize and process pre-existing config files if they find them in the right place? – newbie Sep 24 '14 at 17:00
  • Yes, be aware I flagged your MySQL question as a duplicate of this one. You may want to update this one.... – eyoung100 Sep 24 '14 at 17:02
  • @eyoung100 i posted both questions together initially, and was told to split and repost – newbie Sep 24 '14 at 17:04
  • Just add an HR and Add an update that this also includes MySQL and other Apps. – eyoung100 Sep 24 '14 at 17:06

You can simply copy the files from your home directory. You must include hidden files: most configuration files are hidden files or in hidden directories.

Software installation at the system level is independent from user configuration files. You can do software installation and user configuration restoration in either order.

Make sure to preserve file permissions. You can use

cp -a /media/usb1/home/newbie/ ~/


rsync -a /media/usb1/home/newbie/ ~/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.