corestack_ db_ export
Export the database.
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
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.
zstdgzipnoneexclude_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.
transferpathExample call
{
"name": "corestack_db_export",
"arguments": {
"site_id": 4211,
"target": "transfer",
"compression": "zstd"
}
}If it is refused
| Reason | What to do |
|---|---|
path_public | A 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_incomplete | A 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_space | The 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_exceeded | An 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_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?