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