DEV Community

vivek atwal
vivek atwal

Posted on

Aws Elasticsearch Backup

Understanding basics

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 registering

so first step is to register repository and that is done using _snapshot api.

Syntax:

_snapshot/<repository_name>
Enter fullscreen mode Exit fullscreen mode

Use Cases

  • 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.

References:

Top comments (0)