CorefinityCorefinityDocs
Open the Control PanelControl Panel
Database · 2 of 12

corestack_db_export

Export the database.

Scope execRuns as a taskNo secrets returned
On this page

When to use it

Dump the environment's database (routines, triggers and events included) into a transfer you can download (default) or a file under the site root outside the document root. exclude_tables leaves those tables' rows out but keeps their structure. The export is complete or it fails: nothing partial is kept.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_db_export with site_id 4211, target transfer, compression zstd. (Export the database.) Tell me what it returned.

Inputs

anonymiseboolean

Shopware only: shopware-cli's anonymised dump (cart data left out). Defaults to false.

compressionstring

Defaults to zstd.

zstdgzipnone
exclude_tablesarray of strings

Up to 500 items.

pathstring

With target path: relative to the site root, outside the document root. Up to 1,024 characters.

site_idintegerRequired

At least 1.

targetstring

Defaults to transfer.

transferpath

Example call

tools/call
{
  "name": "corestack_db_export",
  "arguments": {
    "site_id": 4211,
    "target": "transfer",
    "compression": "zstd"
  }
}

If it is refused

ReasonWhat to do
path_publicA database export's path lies inside the document root, where it would be served; choose a path outside the document root, or the transfer target.
dump_incompleteA database export's mariadb-dump pass failed or ended without its own -- Dump completed trailer (set -o pipefail); no path file renamed into place and no transfer object finalised; call again; read the run's stderr.
insufficient_spaceThe row's disk cannot hold the files sync's expanded tree, or a path database export would take the volume's free space under mcp.files.space_margin_bytes; free space or raise the package.
quota_exceededAn upload over mcp.transfers.max_object_bytes, or over the company's or the row's live-transfer quota; split the upload, or wait for older transfers to expire.
managed_elsewhereAnother 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_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.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
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.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
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 same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT