Rsync between 2 datacenters not working
Kevin Korb
kmk at sanitarium.net
Sun Mar 25 20:42:25 UTC 2018
Note that if you do this you are stuck with --whole-file
On 03/25/2018 04:36 PM, Dan Stromberg via rsync wrote:
> You could try using an automounter, like autofs, in combination with
> sshfs. It'll be slower, possibly a lot slower, but it should be more
> reliable over an unreliable connection.
>
> I've been using:
> remote -fstype=fuse,allow_other,nodev,noatime,reconnect,ServerAliveInterval=15,ServerAliveCountMax=40,uid=0,gid=0,ro,nodev,noatime
> :sshfs\#root at remote.host.com\:/
>
> BTW, I'm not sure it's necessary to escape the #. I never tried it without.
>
> Also note that it flattens the remote host's mount tree into a single
> filesystem - so things like /proc look like they are in the same
> filesystem as /. This can lead to backing up /proc's contents (many
> pseudofiles), if you don't exclude it, even if you use rsync's -x
> option.
>
> On Sun, Mar 25, 2018 at 6:43 AM, Marc Roos via rsync
> <rsync at lists.samba.org> wrote:
>>
>> I still stuck with these errors
>>
>> packet_write_wait: Connection to 192.168.10.43 port 22: Broken pipe
>> rsync: connection unexpectedly closed (534132435 bytes received so far)
>> [receiver]
>> rsync error: error in rsync protocol data stream (code 12) at io.c(605)
>> [receiver=3.0.9]
>> rsync: connection unexpectedly closed (27198 bytes received so far)
>> [generator]
>> rsync error: unexplained error (code 255) at io.c(605) [generator=3.0.9]
>
--
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 224 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20180325/29a43df7/signature.sig>
More information about the rsync
mailing list