How to change S3 base_path for snapshot repos

I'm having some difficulty changing the base_path for a snapshot repository and having the change persist after a snapshot has been saved.

I have removed the repo using the DELETE /_snapshot/<my_repo> and recreating with a new path using PUT /_snapshot/<my_repo>. Issuing GET will return the snapshot repo info with the correct base_path and GET /_snapshot/<my_repo>/_all shows the correct snapshots from that path. However, once a scheduled snapshot has been saved, the snapshot repo reverts back to the previous repo.

How can I point the repo to a new path and have it persist?

Thanks,

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.