Skip to content

STAC-23601: Delete ES snapshot repository before configuring it#20

Merged
viliakov merged 1 commit intomainfrom
STAC-23601
Mar 5, 2026
Merged

STAC-23601: Delete ES snapshot repository before configuring it#20
viliakov merged 1 commit intomainfrom
STAC-23601

Conversation

@viliakov
Copy link
Contributor

@viliakov viliakov commented Mar 4, 2026

If the Elasticsearch repository was modified directly, by copying files for example, the cli fails to list and restore snapshots, until the repo is unregistered first.

When a repository is unregistered, Elasticsearch removes only the reference to the location where the repository is storing the snapshots. The snapshots themselves are left untouched and in place.
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-snapshot-delete-repository

@viliakov viliakov merged commit ae8a01d into main Mar 5, 2026
5 checks passed
@viliakov viliakov deleted the STAC-23601 branch March 5, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants