How to backup a Solr database?

倾然丶 夕夏残阳落幕 提交于 2020-01-02 02:01:08

问题


I wonder how to backup (dump) a Solr database?

If it is only to copy some files, then please specify which files (filename, location etc).

Thanks


回答1:


Typically, the index is stored in $SOLR_HOME/data.

Back up that entire folder.




回答2:


We use Solr Replication to do our backup.

You can either have a slave that is dedicated to be a backup or use the "backup" command to make a backup on the master (I never used that last method).



来源:https://stackoverflow.com/questions/3505979/how-to-backup-a-solr-database

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!