Update Snapshot in the repo with same name?

Is there any way to update a snapshot in a repo after adding new records to an index?

Sure. Create a new snapshot and it will "update" the repository.
I think that's what you want.

suppose I have a snapshot snap1 of index movie-123 having 1 record
No i add few more records to the index and now can i update snap1 with the new records and store it in s3

When I try to create a snapshot with the same name it gives error
{
"error": "InvalidSnapshotNameException[[repo1:snapshot1] Invalid snapshot name [snapshot1], snapshot with such name already exists]",
"status": 400
}

So my question was whether an update to the same snapshot is possible or not ?

Just create a new snapshot and it will do a similar thing that you're expecting.

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