Elastic Path Commerce Development

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:

  1. Shutdown the master search server.
  2. Delete the master's product index located in your deployed search server's WEB-INF\solrHome\data\index-product folder.
  3. Copy your backup product index files to solrHome\data\index-product.
  4. Restart the master server.