How to dump/backup a Solr index to a file?

前端 未结 3 1649

I\'m running a Virtual Private Server where, every day at midnight, all files are backed up automatically by the VPS provider.

So I need to exp

3条回答
  •  野性不改
    2021-02-13 14:08

    If you are concerned about keeping incremental states, there are a number of shell scripts that can be configured to run, either scheduled via cron or after commits and optimizes.

    Find out more at http://wiki.apache.org/solr/SolrOperationsTools

    One thing I would note is that while Solr is probably typically not used as the primary "System of Record", but as an auxiliary to some other data store, there isn't anything that requires that!

    There are many use cases where if you lost your Solr indexes then you would lose your data. Think a site that crawls the internet for specific data. The only copy of each crawl result might only be in Solr, and I think, with appropriate backups, that is okay!

提交回复
热议问题