lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: dump/backup fs index catalog without stop it
Date Tue, 12 Dec 2006 03:44:56 GMT
Nuno,

If you stop or block all operations that can change the index (e.g. deletes and additions),
you can safely copy the whole index directory.  If you do it from Java, you can use Lucene's
own Lock class to lock index for modifications, copy the index directory, and unlock the index.

Otis

----- Original Message ----
From: Nuno Alexandre Carvalho <nac@lsd.di.uminho.pt>
To: java-user@lucene.apache.org
Sent: Monday, December 11, 2006 7:04:52 PM
Subject: dump/backup fs index catalog without stop it

Hi,

I have one java service that uses lucene as it's text search engine. This is 
working perfectly, but I don't know how to dump/backup it's filesystem index 
catalog.
Can I simply do a hot copy, without stoping the service and with index open?

Thanks in advance.
-- 
Nuno Alexandre Carvalho

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message