DEV Community

vivek atwal
vivek atwal

Posted on

1 1

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:

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay