Dump a site's database
db_dumpDump a site's database (any kind list_sites shows) to a .sql.gz file on its server, with the site's own credentials (they never reach the chat). Runs in the background: returns job_id and the file path; follow it with job_output. Files go to /var/lib/askyourstack/dumps; to move one to another server, transfer that folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site root folder, like /var/www/shop, or one of the site's domains. Optional when the server has one site (see list_sites). | |
| server | No | Server name or id. Optional when the account has one server. |