Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: HowTo: Use Grsync and OpenSSH to sync your /home directory over a network

  1. #11
    Join Date
    May 2005
    Location
    Beijing, China
    Beans
    47

    Re: HowTo: Use Grsync and OpenSSH to sync your /home directory over a network

    Thanks - just what I was looking for
    In the landscape of Spring there is neither
    better nor worse.
    The flowering branches grow naturally,
    some long, some short.

  2. #12
    Join Date
    Jun 2008
    Beans
    46

    Re: HowTo: Use Grsync and OpenSSH to sync your /home directory over a network

    Quote Originally Posted by 50words View Post

    ... Remember that rsync will navigate relative to the directory in which it starts (the directory you identified as the source directory). Here is an example of the contents of an exclusion file:

    Code:
    /home/50words/.mozilla/firefox/*/Cache
    /home/50words/.beagle
    I think that code does not work. As you refered, you cannot use absolute paths, so the code should be:

    Code:
    .mozilla/firefox/*/Cache
    .beagle
    Tip: Use separate exclution files for different rsync operations or take care that you don't have a hidden folder called beagle to be rsynced elsewhere.

  3. #13
    Join Date
    Oct 2007
    Beans
    27

    Re: HowTo: Use Grsync and OpenSSH to sync your /home directory over a network

    How can this be done if the user name on the source computer is different than the user name on the dest server

  4. #14
    Join Date
    Mar 2009
    Beans
    16

    Re: HowTo: Use Grsync and OpenSSH to sync your /home directory over a network

    Quote Originally Posted by camrant View Post
    How can this be done if the user name on the source computer is different than the user name on the dest server
    in the post #1 instead of
    Code:
    192.168.0.10:/home/50words/
    you should write
    Code:
    username_of_Destination_computer@192.168.0.10:/home/50words/

  5. #15
    Join Date
    Jun 2007
    Beans
    48
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HowTo: Use Grsync and OpenSSH to sync your /home directory over a network

    This thread was very useful, but I thought I would post my two cents.
    What I was doing: Transfer new songs from XP iTunes to Ubuntu media server.
    My user name on XP and Ubuntu are different

    On my XP box, in GRSYNC:
    Source:
    Code:
    C:\Documents and Settings\name1\My Documents\My Music\iTunes\iTunes Media\Music\
    Destination:
    Code:
    192.168.1.3:/home/name2/Music/
    Then, under "Advance Options":
    Code:
    -e "ssh -l name2"
    When I run GRSYNC, I have to enter my password in the "shell" (also known as the command prompt) window on my XP box.

    Seems to be working just fine. Perhaps when I end up breaking it I can refer back to my own instructions.

  6. #16
    Join Date
    Feb 2008
    Location
    Brazil
    Beans
    78
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: Use Grsync and OpenSSH to sync your /home directory over a network

    Hello,

    Need to specify port 2222 on Grsync to connect over ssh to my Android tablet. May I please ask how to do it? Have tried many options such as:

    -p 2222
    --port=2222

    PS: SSH option works correctly as

    -e ssh

    Thanks.

Page 2 of 2 FirstFirst 12

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
  •