Sync multiple devices through a server running rsync in daemon mode

Kevin Korb kmk at sanitarium.net
Tue Aug 14 13:58:25 UTC 2018


It sounds like you are assuming that rsync can do a 2-way sync which it
can't and you are asking about collision detection which it doesn't have.

Maybe you want something like unison or owncloud.

Also, if you are doing anything that requires write access or
authentication you probably don't want rsync in daemon mode.

On 08/14/2018 05:21 AM, Alexandre via rsync wrote:
> Hi, folks!
> 
> I have a question about rsync running in daemon mode.
> 
> Let's pretend that two mobile devices, X and Y, need to be synchronized
> by means of a server, where the rsync is running in daemon mode. If the
> device X starts synchronizing a file with the server and after a short
> while (before the device X finishes its sync) the device Y also tries to
> sync with (the same file), does the rsync daemon prevent the file
> corruption keeping the device Y waiting for X finishes its sync?
> 
> Best regards,
> 
> Alexandre
> 
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
	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:			https://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: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20180814/1d055c94/signature.sig>


More information about the rsync mailing list