Results 1 to 6 of 6

Thread: grsync- recover backed up files

  1. #1
    Join Date
    Sep 2011
    Beans
    1,531

    grsync- recover backed up files

    Hello,

    I dutifully backed up my home folder in Ubuntu onto a pen drive using grsync. Now I'd like to recover it. I choose the source as the pen drive. I choose the destination as my home folder. And I end up with a folder full of useless executables & text files added to my home folder.

    So obviously it's not intuitive like that. Being the dork that I am, I looked for grsync manuals on line. Found lots of manuals that pretty much say you do exactly what I did.

    Um... so can someone help a moron out? How do I get the executable & text files to turn into useful data back in my home folder?

    Here's a screen shot of the files in my pen drive backup:
    Last edited by Ms. Daisy; January 4th, 2012 at 05:58 AM.

  2. #2
    Join Date
    Sep 2011
    Beans
    1,531

    Re: grsync- recover backed up files

    This wouldn't indicate that my home folder was encrypted, would it? I've installed & reinstalled Ubuntu so many times I can't remember if I encrypted the home folder or not.

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!

    Re: grsync- recover backed up files

    Quote Originally Posted by Ms. Daisy View Post
    ...
    Um... so can someone help a moron out?
    Well, I'll try to help you but I don't think you are a moron. Actually it seems that your intuition is correct. And it appears that you do understand how to restore with grsync.

    It seems to me that where you went wrong is the backup, not the restore. What you showed looks more like the /bin folder (at least part of it) rather than /home.

    Edit: I suppose I should add, you don't need to go to the 'Net for manuals for software that you have installed. Open a terminal and type, man grsync, to see the manual page for grsync.
    Last edited by QLee; January 5th, 2012 at 04:45 PM.

  4. #4
    Join Date
    Sep 2011
    Beans
    1,531

    Re: grsync- recover backed up files

    Thanks QLee! So I backed up by /bin folder... oops! Good thing I didn't have anything of real value in the home folder. Now I just need to figure out WHY it backed up the /bin folder when I specifically pointed grsync to the /home folder. And I did it several times all with the same result.

    If I understand the architecture of Ubuntu folders, /bin and /home are totally different locations (i.e. one is not inside of the other). Is that correct?

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!

    Re: grsync- recover backed up files

    Quote Originally Posted by Ms. Daisy View Post
    ...
    If I understand the architecture of Ubuntu folders, /bin and /home are totally different locations (i.e. one is not inside of the other). Is that correct?
    Yes.

    They are both under (meaning subfolders of) what is usually referred to as "/", the root of your filesystem.
    Last edited by QLee; January 5th, 2012 at 05:23 PM. Reason: clarity

  6. #6
    Join Date
    Oct 2009
    Beans
    Hidden!

    Re: grsync- recover backed up files

    I wanted to let you work things out for yourself because that is the best way to have a chance of remembering it and you seem like a thoughtful user (at least one who does try to think things through). However, I'm leaving now so I just want to leave you with a hint that might help if you get stuck.

    I don't know how you chose the /bin folder for your backup, however, if I assume correctly from what you wrote above you want the contents of your /home folder (in this case I mean the /home that has the separate folders for each user's separate ~home - e.g. /home/daisy; /home/<username>) to be copied to the pendrive.

    In that case the source directory (folder) that you want to use in grsync is probably, /home/, to rsync the contents of the folder /home to the pendrive. Test your backup and restore options on a folder that doesn't have anything important in it (e.g. one that you create just to test with, you can delete it when you finish testing) and pay particular attention to the different result when the trailing / is used with a folder path as in /home/.

    Good luck, but I expect you will make your own luck through appropriate effort.

Tags for this Thread

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
  •