Hi Team,
I need to restore the backup from one instance to another if i give below command its not able to find the snapshot in other instance by the way they have the same repository and restore within the same instance is working:
kindly let me know if there are any other options as well
curl -X POST "https://localhost:9243/_snapshot/found-snapshots/test_snapshot-”2021-10-05-11-47”/_restore?pretty" -H 'Content-Type: application/json' -d'
{
"indices": ".geoip_databases",
"ignore_unavailable": true,
"include_global_state": true,
"rename_pattern": "index_(.+)",
"rename_replacement": "restored_index_$1"
}
'
{
"error" : {
"root_cause" : [
{
"type" : "snapshot_restore_exception",
"reason" : "[found-snapshots:test_snapshot-”2021-10-05-11-47”] snapshot does not exist"
}
],
"type" : "snapshot_restore_exception",
"reason" : "[found-snapshots:test_snapshot-”2021-10-05-11-47”] snapshot does not exist"
},
"status" : 500
}