Restoring from a backup index
Restoring from a backup index
If a bad index has been replicated from the master to the slaves, you can fix it by restoring a backup index on the master. If replication is on, any changes to the master index will be replicated to the slaves.
Note:
When restoring from backup, you must shutdown and restart the master for replication to work properly.
For example, to restore the product index from a backup:
- Shutdown the master search server.
- Delete the master's product index located in your deployed search server's WEB-INF\solrHome\data\index-product folder.
- Copy your backup product index files to solrHome\data\index-product.
- Restart the master server.