What are the caveats regarding the copy of a collection? At this time DIH takes only about 10 minutes. So in case of accidental delete we can just re-run the DIH. The reason I am thinking about backup is just in case records are deleted accidentally and the DIH cannot be run because the database is unavailable.
Our collection is simple: 2 nodes - 1 collection - 2 shards with 2 replicas each So a simple copy (cp command) for both the nodes/shards might work for us? How do I restore the data back? On Tue, Nov 17, 2015 at 4:56 PM, Jeff Wartes <jwar...@whitepages.com> wrote: > > https://github.com/whitepages/solrcloud_manager supports 5.x, and I added > some backup/restore functionality similar to SOLR-5750 in the last > release. > Like SOLR-5750, this backup strategy requires a shared filesystem, but > note that unlike SOLR-5750, I haven’t yet added any backup functionality > for the contents of ZK. I’m currently working on some parts of that. > > > Making a copy of a collection is supported too, with some caveats. > > > On 11/17/15, 10:20 AM, "Brian Narsi" <bnars...@gmail.com> wrote: > > >Sorry I forgot to mention that we are using SolrCloud 5.1.0. > > > > > > > >On Tue, Nov 17, 2015 at 12:09 PM, KNitin <nitin.t...@gmail.com> wrote: > > > >> afaik Data import handler does not offer backups. You can try using the > >> replication handler to backup data as you wish to any custom end point. > >> > >> You can also try out : https://github.com/bloomreach/solrcloud-haft. > >>This > >> helps backup solr indices across clusters. > >> > >> On Tue, Nov 17, 2015 at 7:08 AM, Brian Narsi <bnars...@gmail.com> > wrote: > >> > >> > I am using Data Import Handler to retrieve data from a database with > >> > > >> > full-import, clean = true, commit = true and optimize = true > >> > > >> > This has always worked correctly without any errors. > >> > > >> > But just to be on the safe side, I am thinking that we should do a > >>backup > >> > before initiating Data Import Handler. And just in case something > >>happens > >> > restore the backup. > >> > > >> > Can backup be done automatically (before initiating Data Import > >>Handler)? > >> > > >> > Thanks > >> > > >> > >