GET /domains/{domain}/restore first. Send the chosen point's server as hostname, its type, its day as index, and its confirmation-value in the body. A missing field returns 400 naming it. Values that do not identify exactly one current restore point also return 400.geo set to yes, the restore is queued instead, and the response carries only logs.Authorization: Bearer ********************geo set to yes, it was queued. resultsArr reports each imported database file.curl --location --request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/domains/example.com/restore' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"hostname": "core1.example.com",
"type": "nightly",
"index": 2,
"confirmation-value": "89e6c98d92887913cadf06b2adb97f26cde4849b"
}'{
"core-server": "core1.example.com",
"domain": "example.com",
"type": "nightly",
"ordinal-order": 2,
"resultsArr": {
"SiPbxDomain.2.example.com.sql.gz": {
"queries": 412,
"error": 0,
"success": 412
},
"NsApi.2.example.com.sql.gz": {
"queries": 96,
"error": 0,
"success": 96
}
},
"syncResults": {},
"logs": "https://grafana.example.com/d/ns-nsbackup?var-node=core1.example.com&var-search=example.com&from=now-2h&to=now"
}