How to properly make SOLR backups

2019-06-02 08:59发布

问题:

Is there a way, to make SOLR backups daily, without restaring SOLR? I mean SOLR's feature.

回答1:

The backup of of your index (which contains the documents) can be started via http-request

http://localhost:8983/solr/yourcore/replication?command=backup

See Making and Restoring Backups of SolrCores and Solr 5.2: quick look on Solr backup functionality for more information.

So if you want a daily backup make a cronjob to call this url regularly.



标签: solr