Hi,
I'm using an s3 repository to snapshot a cluster. I was hoping to restore the snapshot on a remote cluster by registering a repository pointing to the same bucket. But the snapshot I took from he first cluster remains invisible to the second one.
Here are the comands I used:
To take a snapshot from cluster 1:
curl -XPUT "localhost:9200/_snapshot/my_repo/full_2021.07.28_ok?wait_for_completion=true"
-H 'Content-Type: application/json'
-d '
{"indices": "my_index-*",
"ignore_unavailable": true,
"include_global_state": false
}'
Then i could verify its presence with:
curl localhost:9200/_snapshot/my_repo/my_snapshot
Then if I check the repo on cluster 2 (same request), I get:
{
"snapshots": []
}
What am I missing here ?