> Are you sure a commit didn't happen between?
> Also, a background merge might have happened.
>
> As to using a backup, you are right, just stop solr,
> put the snapshot into index/data, and restart.


This was mentioned before but seems not to have gotten any attention: can't
you use the ReplicationHandler by just going to a URL like this?:


http://host:8080/solr/replication?command=backup&location=/home/jboss/backup

The 2nd edition Lucene in Action book describes a way to take hot backups
without stopping your IndexWriter (pp. 374ff), and it appears that
ReplicationHandler uses a similar strategy if I'm reading the code
correctly (Solr 3.6.1; I guess v4 is the same).

It'd be great if someone more knowledgeable could confirm that you can use
the ReplicationHandler to take hot backups. I'm surprised to see such a
long thread about starting/stopping index jobs when there is such an easy
answer. Or am I mistaken and at risk of corrupt backups if I use it?

Thanks,
Paul

-- 
_________________________________
Pulchritudo splendor veritatis.

Reply via email to