corestack_ restore_ create
Restore a snapshot.
When to use it
Restore a snapshot onto its row — everything, the database or the files. Onto the production row it overwrites production.
The task's answer is the restore, whose safety_snapshot.id is the Undo point: restore it with this tool to go back.
Ask for it
Using the Corefinity MCP server, call corestack_restore_create with site_id 4211, snapshot_id 9051, mode everything, safety_snapshot false. (Restore a snapshot.) Tell me what it returned.Inputs
confirm_domainstringRequiredConfirmation
The site's domain, typed exactly (every row). Up to 255 characters.
modestringRequired
everythingdatabasefilessafety_snapshotbooleanRequired
Snapshot the row first, so the restore can be undone.
site_idintegerRequired
The row the snapshot belongs to. At least 1.
snapshot_idintegerRequired
At least 1.
anonymise(boolean): Anonymise the restored data (non-production rows only); needs restore anonymising switched on.
Your assistant fills in a confirmation only after you agree.
Example call
{
"name": "corestack_restore_create",
"arguments": {
"site_id": 4211,
"snapshot_id": 9051,
"mode": "everything",
"safety_snapshot": false,
"confirm_domain": "example.co.uk"
}
}If it is refused
| Reason | What to do |
|---|---|
recovery_required | The site must first be restored whole from its own snapshot; contact support or restore the whole site. |
support_only | Unfinished work or a hold by Corefinity's team blocks this; contact support, retrying cannot help. |
not_started | The restore could not start (its copy could not be made available or the safety snapshot was refused); it will not advance, so tell the person what the message says. |
mariadb_change | The snapshot's database version cannot be restored into this row; restore it into a new environment instead (corestack_environment_create with source clone and its snapshot_id; while restoring anywhere is switched on, corestack_snapshot_restore_to). |
snapshot_unavailable | The snapshot is still being taken or is no longer available; choose another. |
runtime_unprepared | The environment needs a platform update before it can take this restore (a snapshot from before an earlier copy or restore of this environment); nothing was changed. Tell the person to contact Corefinity support to update it; retrying cannot help. |
anonymise_production | Production is never anonymised; leave anonymise out. |
managed_elsewhere | Another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done. |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?