Re: [9fans] replica question

2011-11-18 Thread erik quanstrom
On Fri Nov 18 11:00:49 EST 2011, rudolf.syk...@gmail.com wrote: > > read about compactdb, which is in replica(8). > > Compactdb works on the .db (simplifies it) but does nothing to the .log. > Applylog only reads the .log. > I don't see any way how compactdb would help here. the way i've always d

Re: [9fans] replica question

2011-11-18 Thread Rudolf Sykora
> read about compactdb, which is in replica(8). Compactdb works on the .db (simplifies it) but does nothing to the .log. Applylog only reads the .log. I don't see any way how compactdb would help here. Thanks Ruda

Re: [9fans] replica question

2011-11-18 Thread erik quanstrom
> However, I don't understand what one should do if this log was removed > or somehow shortened (so that it does not mention the files' addition > anymore). Some such shortening is, I believe, reasonable, since after > say 10 years nobody is probably interested in all the files' changes. > But, if

[9fans] replica question

2011-11-18 Thread Rudolf Sykora
Hello, Yesterday I read replica(8), played with it a bit, and I have the following question: Say I have a directory A which I—from time to time—want to replicate to directory B. With replica/updatedb I maintain two files, A.db and A.log, describing the situation in the A directory. If A.log has

Re: [9fans] replica question

2008-07-06 Thread Antonin Vecera
On Sun, Jul 6, 2008 at 8:31 PM, Martin Neubauer <[EMAIL PROTECTED]> wrote: > The reason there is no conflict is that the entries for rc/bin/termrc in the > replica databases on sources and on your computer are identical. Only after > termrc would change on sources a conflict would arise becase the

Re: [9fans] replica question

2008-07-06 Thread Martin Neubauer
The reason there is no conflict is that the entries for rc/bin/termrc in the replica databases on sources and on your computer are identical. Only after termrc would change on sources a conflict would arise becase the local copy would not match the database entry of the last pull. * Antonin Vecera

Re: [9fans] replica question

2008-07-06 Thread Antonin Vecera
On Sun, Jul 6, 2008 at 7:29 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: > Sorry, but I got screwed by that too. -s only works if there is a conflict. > You'll have to manually copy it from /n/sources/plan9/. Type > >9fs sources >cp /n/sources/plan9/rc/bin/termc /rc/bin/termrc T

Re: [9fans] replica question

2008-07-06 Thread Pietro Gagliardi
On Jul 6, 2008, at 1:03 PM, Antonin Vecera wrote: Hello all, can somebody help me with replica/pull ... I made some changes to /rc/bin/termrc . After that I decided to move my changes to /rc/bin/termrc.local and restore termrc . I did: replica/pull -v -s rc/bin/termrc /dist/replica/networ

[9fans] replica question

2008-07-06 Thread Antonin Vecera
Hello all, can somebody help me with replica/pull ... I made some changes to /rc/bin/termrc . After that I decided to move my changes to /rc/bin/termrc.local and restore termrc . I did: replica/pull -v -s rc/bin/termrc /dist/replica/network I expected restoration of termrc to actual distri