cjand8rs at gmail.com
2013-Jul-29 10:14 UTC
Reversing roles of server and client for uploading sync list
I am searched for an easy answer but I haven't come across one. Basically the problem is that I have an ADSL network that I use to remotely backup some files that have changed across and entire OS every few days. The problem I have found is that banddwidth up is about 50x greater than that coming down (its about 20:1 but add noise on the lower 128KHz of the 4KHz bins used to upstream and in reality it is about 50x). When I sync from the machine at the end of the ADSL connection to anywhere else the file list is always being SENT to by the machine with the slow upstream ADSL connection (swapping the destinations results in a "building file list" as opposed to "sending the file list") and in both cases it is acting as the "server". Is there an easy way to change the roles only for syncing the lists, yet allowing files to be sent in the other direction? Any experimental patcehs would be welcome.
Matthias Schniedermeyer
2013-Jul-29 11:14 UTC
Reversing roles of server and client for uploading sync list
On 29.07.2013 17:14, cjand8rs at gmail.com wrote:> I am searched for an easy answer but I haven't come across one. > Basically the problem is that I have an ADSL network that I use to > remotely backup some files that have changed across and entire OS every > few days. > > The problem I have found is that banddwidth up is about 50x greater than > that coming down (its about 20:1 but add noise on the lower 128KHz of > the 4KHz bins used to upstream and in reality it is about 50x). > > When I sync from the machine at the end of the ADSL connection to > anywhere else the file list is always being SENT to by the machine with > the slow upstream ADSL connection (swapping the destinations results in a > "building file list" as opposed to "sending the file list") and in both > cases it is acting as the "server". > > Is there an easy way to change the roles only for syncing the lists, yet > allowing files to be sent in the other direction? Any experimental > patcehs would be welcome.Are you using rsync over SSH or the rsync-demon? In the former case you could just start rsync on the other host. (I'm ignoring the problem of authentication!) If you do something like this: hosta> rsync -a hostb:/ /backup_hostb/ You could change it to: hosta> ssh hostb rsync -a / hosta:/backup_hostb/ -- Matthias
Wayne Davison
2013-Jul-29 18:28 UTC
Reversing roles of server and client for uploading sync list
On Mon, Jul 29, 2013 at 3:14 AM, <cjand8rs at gmail.com> wrote:> Is there an easy way to change the roles only for syncing the lists, > yet allowing files to be sent in the other direction? >No, the whole purpose is for the receiving side to synchronize what's on the sending side, so the sending side has to tell the receiving side what files are available. ..wayne.. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20130729/2e19e0b0/attachment.html>