Restore process should replace the mapping and settings if index already...

... exists

Closes #5210