From: Fco.J.Ballesteros <nemo@plan9.escet.urjc.es>
To: 9fans@cse.psu.edu
Subject: [9fans] replica problems
Date: Mon, 13 May 2002 17:48:08 +0200 [thread overview]
Message-ID: <16517f690d394ec5dbe2b076827f8989@plan9.escet.urjc.es> (raw)
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)
next reply other threads:[~2002-05-13 15:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-13 15:48 Fco.J.Ballesteros [this message]
2002-05-13 16:57 rsc
2002-05-14 7:52 Fco.J.Ballesteros
2002-05-14 15:53 Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16517f690d394ec5dbe2b076827f8989@plan9.escet.urjc.es \
--to=nemo@plan9.escet.urjc.es \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).