Results 1 to 10 of 11

Thread: rsync bass ackwards

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Beans
    324

    rsync bass ackwards

    I would like to get "all" my files on an external hard drive so that I can change machines and still have access to everything.

    Being prudent, I would also like to back all this data up. But I would just as well NOT buy a second drive.

    So! Can I back up the HD to a computer. Perhaps even alternately to the two machines I principally use.

    So the question is, can rsync back up FROM an external drive to a computer? And, if so, how? Or can perhaps BackinTime do so.

    Thanks in anticipation of some needed hand holding.

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,015

    Re: rsync bass ackwards

    The short answer is yes, between drives in the same computer and between computers.

    Have a look at
    Code:
    man rsync
    which is well written and contains examples. You need not learn it by heart or do everything on your own, so come back after looking at that text.

    Rsync is normally using ssh, so you need to have the ssh server installed in the 'other' computer(s).

    See https://help.ubuntu.com/community/SSH/OpenSSH/Configuring

  3. #3
    Join Date
    Aug 2006
    Beans
    324

    Re: rsync bass ackwards

    Thanks for your prompt reply.

    You've certainly given me a bunch of reading which I will try to plough through.

    That said, and just for clarity (in case I wasn't clear "last time"), I want to back up an external HD on either of two computers.

    Your reply said "drives in the same computer and between computers". Which is not the same. At the risk of being persnickety, I CAN do what I want. Right?

    I suppose once the command is defined it becomes a no brainer, but I noticed you avoided talking about BackInTime. Does that mean BackInTime will not do what I want? Or are you perhaps not familiar with it? Or prefer rsync?

    All of that said, I reckon to get this to work I will need MAJOR hand holding. So rest assured, after I've tried to assimilate man, I WILL post.

    Again, many thanks.

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,015

    Re: rsync bass ackwards

    Quote Originally Posted by Langstracht View Post
    That said, and just for clarity (in case I wasn't clear "last time"), I want to back up an external HD on either of two computers.

    Your reply said "drives in the same computer and between computers". Which is not the same. At the risk of being persnickety, I CAN do what I want. Right?
    When an external drive is mounted it is treated by rsync in the same way as an internal drive. So the answer is yes. It might be a good idea to mount it by an entry in /etc/fstab, or to add a label to it, so that it will always be mounted to the same mount-point.
    I suppose once the command is defined it becomes a no brainer, but I noticed you avoided talking about BackInTime. Does that mean BackInTime will not do what I want? Or are you perhaps not familiar with it? Or prefer rsync?
    I am not familiar with BackInTime. There are many front-end programs for rsync (and other backup programs too). Please describe what kind of backup you want: complete system backup, incremental backup, synchronizing (also deleting from the backup) ...
    All of that said, I reckon to get this to work I will need MAJOR hand holding. So rest assured, after I've tried to assimilate man, I WILL post.
    Again, many thanks.
    I use rsync as it is sometimes. But I also use Clonezilla to make complete images of whole drives or partitions, and I use Unison to backup by synchronzing my photo and multimedia partition.

  5. #5
    Join Date
    Sep 2011
    Location
    Pennsylvania, U.S.A.
    Beans
    1,833
    Distro
    Ubuntu Development Release

    Re: rsync bass ackwards

    When I do what I think the O.P. is trying to do, I find it useful to synchronize two folders. I can have the same contents on 2 machines and an external drive. To accomplish this in Ubuntu, I find lucky backup the most intuitive GUI to use. I can either backup a folder or synchronize it. I didn't find Grsync or Unison as intuitive when trying to synchronize folders on local drives.
    Last edited by kurt18947; February 19th, 2013 at 07:17 AM.

  6. #6
    Join Date
    Aug 2006
    Beans
    324

    Re: rsync bass ackwards

    Sorry I haven't figured out (nor can I find) how to selectively quote from other replies.

    That said, thanks for both of your replies.

    I think I want basically everything in the home folder. Although if there is some reason that I should not get that please speak up.

    That said the present size (of the home folder) is about 50 Gig. And the machine drives better than double that (they're partioned for a dual boot). The external 10x.

    So! My thinking is keep "everything" on the external - i.e. no deletions. BUT squirrel away (archive if you will) some stuff and NOT copy it (the archived) over (back it up) to the 2 machines.

    Again, please, if that don't make sense, please say so.

    As for mtg - again a place of blissful ignorance for me. Guess I'll need to do some more reading/exploring.

    Continue to appreciate your involvements in this.

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
  •