Hi there,
I have a problem with the snapshot API when it comes to use it with a S3 repository on oracle cloud.
My elasticsearch 7.5.2 instance is running inside a docker container.
GET /_snapshot/s3_repository/
returns my repository settings
{
"s3_repository" : {
"type" : "s3",
"settings" : {
"bucket" : "xxxxxxxxxx",
"base_path" : "xxxxxxxxxxx",
"endpoint" : "xxxxxxxxxx.compat.objectstorage.eu-frankfurt-1.oraclecloud.com",
"protocol" : "https",
"region" : "eu-frankfurt-1"
}
}
}
After that I start the backup via
PUT /_snapshot/s3_repository/snapshot-test
{
"indices": "test"
}
Now I can see my saved snapshots
GET /_snapshot/s3_repository/_all
which returns
{
"snapshots" : [
{
"snapshot" : "snapshot-test",
"uuid" : "dKowu34RSDmSMoPRJPgH7g",
"version_id" : 7050299,
"version" : "7.5.2",
"indices" : [
"test"
],
"include_global_state" : true,
"state" : "SUCCESS",
"start_time" : "2020-02-07T14:35:44.556Z",
"start_time_in_millis" : 1581086144556,
"end_time" : "2020-02-07T14:35:45.156Z",
"end_time_in_millis" : 1581086145156,
"duration_in_millis" : 600,
"failures" : [ ],
"shards" : {
"total" : 1,
"failed" : 0,
"successful" : 1
}
}
]
}
The next step shows the problem. After restarting the elasticsearch docker container I still see my repo but the saved snapshots list is empty
GET /_snapshot/s3_repository/_all
{
"snapshots" : []
}
What's the problem here? Did I miss something?