Fw: remote to remote sync

Sean O'Neill sean at seanoneill.info
Mon Apr 22 09:24:02 EST 2002


>"dennis" <zenn at optushome.com.au>
>Sent by: rsync-admin at lists.samba.org
>04/22/2002 05:37 AM
>
>         To:     <rsync at lists.samba.org>
>         cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
>         Subject:        Fw: remote to remote sync
>         Classification:
>
>I forgot to mention the error I keep getting with the below rsync
>script...
>
>receiving file list ... done
>cannot create user at 123.456.678.123:path/to/some/files...HjBwqT : No such 
>file or directory
>wrote 32 bytes  read 192 bytes  149.33 bytes/sec
>total size is 178  speedup is 0.79
>All the files and directories exist.
>Any suggestions ?
>How can I rsync to remote boxes from a third ?
>
>Sorry if this has been covered before, I'm new to the list and couldn't
>find anything in the archives.
>Aside from the authentication issues, is it possible to run a rsync
>cronjob from a local box that sync's two remotes boxes ?
>
>...something like...
>
>rsync -avg -em ssh user at 123.456.678.123:path/to/some/files 
>user at 345.456.567.667:/path/to/backup/files
>
>I have worked out the authentication issues with SSH so all that's left is
>rsync's ability to sync two remote systems from a local cronjob on a
>third.

At 10:02 AM 4/22/2002 -0600, tim.conway at philips.com wrote:
>I'll let rsync itself answer your question:
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>      Note that in all cases (other than listing) at least one  of
>      the source and destination paths must be local.

This doesn't mean you shouldn't be able to achieve the "effect" you are 
looking for.  You "should" be able to get this to work using SSH 
tunnels.  This will have to be somewhat creative in how you accomplish it 
but it should work fine.

Drawing a picture prior to trying anything of the ports and service 
"directions" (e.g. ssh / rsync) will help you greatly here.


--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill





More information about the rsync mailing list