Results 1 to 8 of 8

Thread: ok, Now how do I Restore my /home folder???

  1. #1
    Join Date
    Apr 2006
    Beans
    414
    Distro
    Lubuntu 12.10 Quantal Quetzal

    ok, Now how do I Restore my /home folder???

    I backed up my /home folder and all the folders in it to my external hard drive... installed a fresh 9.10 and aparantly its not as easy as copying it back and overwriting the current /home folder....what do i need to do?

    Thanks!
    Noob:(Internet slang, pejorative) A newb or newbie; refers to the idea that someone is new to a game, concept, or idea; implying a lack of experience.

    Nub:A small lump or protuberance

  2. #2
    Join Date
    Dec 2005
    Location
    New Zealand
    Beans
    132
    Distro
    Ubuntu Development Release

    Re: ok, Now how do I Restore my /home folder???

    I usually do it this way:

    In a terminal

    cd /backupfolder {to the external drive folder where your backup is]

    the run the following command

    find . -print | cpio -pdmua /home/[name]

    where [name} is the name of your home directory.

    Once finsihed you might have to make sure the permissions are correct as follows:

    cd /home

    chown -R [name] [name]

    There are other ways also using rsync etc.

    If you get any issues with permission denied then prepend the above commands with sudo ie.

    sudo find . -print | cpio -pdmua /home/[name]

  3. #3
    Join Date
    Sep 2009
    Beans
    124

    Re: ok, Now how do I Restore my /home folder???

    I'm about to do this myself actually (back up my home folder that is) so that I can install 9.10 on a clean install. If I do this, will it in general keep all my settings and favorites and all that? In particular, should I expect it to backup my firefox favorites and the plugins I have installed? Also, with the wine programs I have installed, is backing up my .wine folder enough to ensure that when I restore it all my programs will work again? I know for instance in windows you'd have issues with the registry, but is there some kind of pseudo registry in the .wine folder that gets backed up also, or would it be best to just try and re-install all my software?

  4. #4
    Join Date
    Jun 2008
    Location
    NZ
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: ok, Now how do I Restore my /home folder???

    Unless you have moved things around yourself all your configurations will be in /home/<yourname>. You can confirm by browsing your home folder. Firefox files are in the directory .mozilla.

    The config directories (preceeded with a dot '.') are hidden by default. To see them with the nautilus browser, use Ctl-H, to toggle the hidden files on/off. Alternatively, you can open a terminal and use "ls -a" although I like "ls -la".

    As for wine, I installed it once and never spend the time to learn how to use. But it does create ".wine".

    Hope that helps.

  5. #5
    Join Date
    Dec 2005
    Location
    New Zealand
    Beans
    132
    Distro
    Ubuntu Development Release

    Re: ok, Now how do I Restore my /home folder???

    Quote Originally Posted by scared0o0rabbit View Post
    I'm about to do this myself actually (back up my home folder that is) so that I can install 9.10 on a clean install. If I do this, will it in general keep all my settings and favorites and all that? In particular, should I expect it to backup my firefox favorites and the plugins I have installed? ......
    Yes, once you copy everything back to your home folder, check the permissions and reboot everything should work as normal.

    When I do a backup I also like to keep a copy of /etc as there are some important system config files there that you might want in the future. Not being sure what you are running cannot say much more.

  6. #6
    Join Date
    Sep 2009
    Beans
    124

    Re: ok, Now how do I Restore my /home folder???

    I would just be going from 9.04 to 9.10.

  7. #7
    Join Date
    Jul 2009
    Location
    In the same galaxy as you
    Beans
    525
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: ok, Now how do I Restore my /home folder???

    Open your backed up home folder, and copy the contents.
    Paste them into your new one.
    Note: It may work to copy the contents of /home/, but I recommend using the contents of /home/[your username here]/
    Spoiler: Highlight to read
    Congratulations, you have found the secret message! It contains absolutely nothing useful!

  8. #8
    Join Date
    Oct 2008
    Beans
    6

    Re: ok, Now how do I Restore my /home folder???

    I realize this is a slightly old thread but... does copying your home folder and fixing permissions still work if you're moving it to another machine with a different hardware configuration?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •