Elasticsearch backup works differently when compared to databases like mysql and mongodb where you can specify the backup path in the runtime,
while in case of elasticsearch, it expects user to specify the backup directory(repository) in advance and Specifying the backup directory in advance is called
so first step is to register repository and that is done using
- Backup from one server and restore on same server
- Bacukup from one server and restore to another server.
You will have to register repository from all the server where you want to restore.