How to backup AWS opensearch to on-prem

0

Hello,

I have assigned for backup data Opensearch from aws to local disk. Is it possible to ?

  1. Create Opensearch on-prem
  2. Backup data from AWS to local disk
  3. Upload to on-prem Opensearch

Do you have medthod how I backup to local?

Note: I no have exp about Opensearch before

1 Antwort
0

You can use the snapshot method to restore data from AWS cluster to on-prem. I'm outlining the process with the assumption that the snapshot repository used is S3.

  1. Configure the cluster in AWS to use S3 as a repository.
  2. Take a snapshot of the indices ( all or selected). The first snapshot would take time since its a full backup. Subsequent snapshot would be quicker.
  3. Verify that the snapshot process completed successfully.
  4. Configure the on-prem cluster to use S3 as a source repository for restore ( preferably in readonly mode to minimize risk of messing with backup)
  5. Restore the indices from the snapshot
  6. Verify the data on on-prem cluster esp. document count in index.

You can find details here - https://opensearch.org/docs/2.5/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore/

--Syd

profile picture
Syd
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen