Hello. I need to implement an archival method in opensearch where specific days data can be purged from live database and stored in backup drive and when needed can be restored back in the live database
Index state management policy can solve your problem, you can define a policy with snapshot action and delete action, when a index becomes old, take a snapshot to store it in S3, then after specific days, delete it. If you want to retrieve the index, you can restore it from S3. You can take a look at this: Policies - OpenSearch documentation.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.