Skip to content

Lucene (perhaps, Solr-specific) backups

A couple of days ago I asked, in a rather aggressive fashion, whether any of you had done backups for Lucene, especially Solr.

None of you had, but at least a couple of you were concerned, for your own reasons, that I was concerned about the safe way to do that.

For the time being, I'm putting a thumb in each ear, one hand over my eyes, and the other hand over my mouth (mostly), and following the Party Line: make a hard link to the index files, back up the hard link, and that's Enough. Lucene will create a new file when it goes to write out a new copy of the database.

I'm less than fully convinced by this, and I certainly haven't performed the degree of recovery validation that I would in my Day Job, but I'm making myself believe that the vendor knows what they're talking about in the context of being paid hourly by a friend's startup that needs things to work but is comfortable with working by the seat of their pants.

A few relevant links (possibly subsequently updated) can be found here.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*