Describe the issue:
Background -
- I currently use elasticsearch-curator with Opensearch to delete older indices and snapshots.
- I am now intending to move away from curator to Index State Management (for indices) and Snapshot Management plugin (for snapshots).
- In my use-case, snapshots are created manually (using /_snapshot REST APIs) on user-trigger (at random times) and the snapshot names follow a particular date-format.
- The requirement is the snapshot deletion/cleanup should be scheduled periodically.
Query -
As per the plugin documentation, the snapshot management policy mandatorily requires creation section.
Parameter | Type | Description
creation | Object | Configuration for snapshot creation. Required.
Can we use this plugin to only schedule deletion of snapshots and not creation?
Does it support deletion of snapshots that are not created by this policy?
Any recommendations on how to achieve this?