Alexandre
2018-Aug-14 09:21 UTC
Sync multiple devices through a server running rsync in daemon mode
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20180814/4b807d07/attachment.html>
Kevin Korb
2018-Aug-14 13:58 UTC
Sync multiple devices through a server running rsync in daemon mode
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>
Alexandre
2018-Aug-17 17:47 UTC
Sync multiple devices through a server running rsync in daemon mode
Kevin, thank you for your suggestion. I will take a time to study the Unison. Maybe it can be a solution. Em ter, 14 de ago de 2018 às 10:59, Kevin Korb via rsync < rsync at lists.samba.org> escreveu:> 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. > ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20180817/183eb424/attachment.html>
Maybe Matching Threads
- --link-dest not working on remote server (running daemon)
- Sync multiple devices through a server running rsync in daemon mode
- Very slow to start sync with millions of directories and files
- --link-dest not working on remote server (running daemon)
- Very slow to start sync with millions of directories and files