问题
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