Backup database
mysql_dumpDumps a MySQL database to a timestamped gzipped file on the server and returns the file path.
Instructions
Dump a database to a timestamped gzip file on the server and return its path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name | |
| dir | No | Destination directory on the server | /root/backups |