How to backup a Solr database?

2019-04-21 20:39发布

问题:

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).



标签: solr