CorefinityCorefinityDocs
Open the Control PanelControl Panel
Clones and copies · 7 of 8

corestack_enterprise_copy_resync

Re-sync a CoreStack Enterprise copy.

Scope writeAsks you to confirmRuns as a taskNo secrets returned
On this page

When to use it

Copy the same CoreStack Enterprise environment into the same CoreCluster site again, for example just before testing the site with fresher data. A re-sync is a new copy that names the one it follows (copy_of); the one it follows, if not finished, ends as superseded. Only the site's latest copy can be re-synced, once its run has ended, and the site is judged again as for a first copy, including whose site it is now. It replaces everything the site holds, so type the site's name as confirm_target_site only once the person has agreed.

The re-sync runs as a task; follow it with corestack_enterprise_copy_get. The public API's POST /api/enterprise-copies/{copy}/resync does the same.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_enterprise_copy_resync with copy_id 41. (Re-sync a CoreStack Enterprise copy.) Tell me what it returned.

Inputs

confirm_target_sitestringRequiredConfirmation

The site's name, as the preview's confirm. Up to 253 characters.

copy_idintegerRequired

The site's latest copy. 1 to 2147483647.

Your assistant fills in a confirmation only after you agree.

Example call

tools/call
{
  "name": "corestack_enterprise_copy_resync",
  "arguments": {
    "copy_id": 41,
    "confirm_target_site": "c32-s217"
  }
}

If it is refused

ReasonWhat to do
copy_not_latestA newer copy of this site exists; re-sync that one. copy_running: the copy's run has not ended.
confirm_mismatchThe name typed is not the site's.
managed_elsewhereThe site is managed by another control panel.
tenant_mismatchThe copy does not exist, its environment was deleted, or its environment or its site is not yours.
pin_refusedThe grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it.
company_writeSee how this server works.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
invalid_argumentsThe 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.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.
  • The site's and the environment's checks, as a create's: other_company, target_not_ready, target_live, target_sends_mail, target_unprotected, target_crons_on, target_busy, target_moving, source_moving, target_too_small, source_unsupported, ssh_unreachable, …

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT