Date: Tue, 25 Mar 2003 12:18:18 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: John Straiton <jsmailing@clickcom.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: [OT] file synchronization between two machines Message-ID: <20030325181818.GA24340@dan.emsphone.com> In-Reply-To: <006601c2f2f3$32cdfb90$1916c60a@win2k.clickcom.com> References: <20030325170212.GC48060@dan.emsphone.com> <006601c2f2f3$32cdfb90$1916c60a@win2k.clickcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 25), John Straiton said: > > The only drawback is rsync will never delete files; you have to > > manually remove them from both machines manually. > > It wouldn't be near as neat a utility if that were true (unless I > misunderstood your statement). You might have. For correct two-way replication, you need a history file that records the state of the filesystem as of the last time the replication ran. Otherwise you won't know whether the "file1 is on serverA but not on ServerB" case is due to the user creating a new file1 on serverA, or deleting an old file1 from ServerB. Rsync doesn't keep a history file, so all it can do it copy file1 over to serverB. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030325181818.GA24340>