lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prateek Jain J <prateek.j.j...@ericsson.com>
Subject RE: solr | backup and restoration
Date Wed, 27 Apr 2016 13:45:18 GMT

Manually copying files under index directory fixed the issue. 


Regards,
Prateek Jain

-----Original Message-----
From: Prateek Jain J [mailto:prateek.j.jain@ericsson.com] 
Sent: 27 April 2016 02:08 PM
To: solr-user@lucene.apache.org
Subject: solr | backup and restoration


Hi,

We are using solr 4.8.1 in production and want to create backups at runtime. As per the reference
guide,  we can create backup using something like this:

http://localhost:8983/solr/myCore/replication?command=backup&location=/tmp/myBackup&numberToKeep=1

and we verified that some file are getting created in /tmp/myBackup directory. The issue that
we are facing is, how to restore everything using this backup.
 Admin guide does talk about "Merging Indexes" using two methods:


a.       indexDir for example,

http://localhost:8983/solr/admin/cores?action=mergeindexes&core=core0&indexDir=/home/solr/core1/data/index&

indexDir=/home/solr/core2/data/index



b.      srcCore for example,

http://localhost:8983/solr/admin/cores?action=mergeindexes&core=core0&srcCore=core1&srcCore=core2



these are not working in our case as, we want entire data should also be back there for example,
if we want to re-create core from a snapshot. I do see there is such functionality available
in later versions as, described here

https://cwiki.apache.org/confluence/display/solr/Making+and+Restoring+Backups+of+SolrCores


Regards,
Prateek Jain


Mime
View raw message