Back Up Website Database
site_db_backupTakes a consistent backup of the website's database and stores it on the server under /data/backups. Uses a transaction-consistent dump, so the site keeps working while it runs and no table is locked. Leave database empty to back up everything. The reply lists the backups that exist afterwards, newest first — feed one of those file names to site_db_restore. A nightly automatic backup already runs; this tool is for taking one right before a risky change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | ||
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||