Dump database of a web hosting package into a file
Write all data of one database into an SQL file in the web directory of its package.
manitu_webhosting_web_database_dump on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Writes all data of a database of a web hosting package of the manitu customer account this connection works in, by site_id and database_id from manitu_webhosting_web_database_list, into an SQL file (gzip unless compressed is false) in the web directory of the package - above htdocs, not reachable from the web; the answer names the file. The customer downloads it by FTP or SSH and should delete it afterwards, since it holds all data and counts against the disk space. Refused with a conflict when manitu does not know the password (password_not_stored - a new one with manitu_webhosting_web_database_set first), the package is almost out of disk space (quota_almost_exceeded) or cannot be changed now (not_configurable). Ask the customer for an explicit yes first.
Arguments
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
database_idinteger | stringrequiredThe database_id from manitu_webhosting_web_database_list - never guess one.
compressedbooleangzip-compressed (.sql.gz). Default: true.
Result structuredContent, checked against the schema
database_idintegerrequiredThe database dumped.
file_namestringrequiredThe file written, in the web directory of the package (above htdocs).
Authentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
database_idinteger | stringrequiredThe database_id from manitu_webhosting_web_database_list - never guess one.
compressedbooleangzip-compressed (.sql.gz). Default: true.
Response in data; the rest of the body as on every call
database_idintegerrequiredThe database dumped.
file_namestringrequiredThe file written, in the web directory of the package (above htdocs).
Statuses
200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.