From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <16517f690d394ec5dbe2b076827f8989@plan9.escet.urjc.es> To: 9fans@cse.psu.edu From: Fco.J.Ballesteros MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] replica problems Date: Mon, 13 May 2002 17:48:08 +0200 Topicbox-Message-UUID: 8ff6b55a-eaca-11e9-9e20-41e7f4b1d025 Hi, Is anyone out there using replica to sync a home directory between the file server and a laptop's kfs? I tried several times to do it and failed. To do it `the right way' (or what I thought it was such), I removed /usr/nemo on my laptop; then created an empty one; then defined the replica config file shown below to replicate the file server's /usr/nemo on my laptop. I executed replica/scan /path/to/config replica/pull /path/to/config bin and brought my $home/bin back to my laptop. fine. but, when I executed replica/push /path/to/config bin it deleted all the $/home/bin files from the server (they were not deleted from the client, but the db said so). AFAIK, replica/push should have done nothing, right? What am I doing wrong? This was the config file: # replica(1) file to be run at nautilus fn servermount { bind -c /n/sargazos/usr/nemo /n/dist } fn serverupdate { status='' } # Sargazos /usr/nemo serverroot=/n/dist s=/n/dist/lib/replica serverlog=$s/nemo.log serverproto=$s/nemo.proto proto=$serverproto serverdb=$s/nemo.db # laptop /usr/nemo fn clientmount { test -d /usr/nemo } clientroot=/usr/nemo c=/usr/nemo/lib/replica clientlog=$c/nautilus/nemo.log clientproto=$c/nemo.proto clientdb=$c/nautilus/nemo.db clientexclude=(lib/replica/nautilus offline tmp)