[Xapian-discuss] replicating a compacted database

Olly Betts olly at survex.com
Thu Jan 20 00:57:12 GMT 2011


On Wed, Jan 19, 2011 at 07:51:19PM -0500, Wes Chow wrote:
> Suppose that I'm indexing on a database foo, and I'm replicating it to  
> another database bar using xapian-replicate. If I compact foo and  
> produce foo2, can I safely use xapian-replicate on foo2 to bar? The  
> version in question is 1.2.4.

Yes - each database has a UUID, and if this is different, then a full
copy of the new database is transferred.

This isn't really clearly stated in the docs that I can see - I'll add
something about it.

Cheers,
    Olly



More information about the Xapian-discuss mailing list