If you're writing to disk, you can minimize the chance of an inconsistent index by hardlinking the files first (cp -l)

-Mike

On 2-Jan-08, at 8:10 AM, Charlie Jackson wrote:

Solr indexes are file-based, so there's no need to "dump" the index to a file.

In terms of how to create backups and move those backups to other servers, check out this page http://wiki.apache.org/solr/ CollectionDistribution.

Hope that helps.



-----Original Message-----
From: Jörg Kiegeland [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 3:17 AM
To: solr-user@lucene.apache.org
Subject: Backup of a Solr index


Is there a standard way to dump the Solr index to a file or to a
directory as backup, and to import a such saved index to another Solr
index later?

Another question I have, is whether one is allowed to copy the
/data/index folder while the Solr server is still running, as easy
alternative to do a backup (may this conflict with Solr holding open
files?)?

Happy new year,
Jörg

Reply via email to