You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by dabboo <ag...@sapient.com> on 2009/03/27 06:30:56 UTC

How to take Index Backup

Hi,

I have to take backup of the indexes, which are there in my solr server. I
know that we will have to give the target path in scripts.conf file, but I
want to know below things.

1. What is the userId to be given in scripts.conf file.
2. How & where to run the scripts given in bin folder under solr?
3. Where to mention if we want to take the back up of indexes under a
particular core or all the indexes under all cores?

Thanks,
Amit Garg
-- 
View this message in context: http://www.nabble.com/How-to-take-Index-Backup-tp22736224p22736224.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to take Index Backup

Posted by Chris Hostetter <ho...@fucit.org>.
: 1. What is the userId to be given in scripts.conf file.

it's just a username that the scripts will try to sudo to if specified ... 
it's a way of ensuring that all of the actions the script takes (logging, 
creating files, etc...) are executed by a specific unix user no matter who 
runs the script.

: 2. How & where to run the scripts given in bin folder under solr?

you can run them via cron, or manually.

: 3. Where to mention if we want to take the back up of indexes under a
: particular core or all the indexes under all cores?

none of the scripts are multicore aware ... when you run them, you'll 
have to point them at the specifc instanceDir for the core you want to 
operate on (if i remember correctly, you can just have a seperate 
scripts.conf for each core)





-Hoss