ssh_db_dump
Dump MySQL, PostgreSQL, or MongoDB databases to a file on a remote server via SSH. Provide the database type, name, credentials, and output file path to create the dump.
Instructions
Dump database to file (MySQL, PostgreSQL, MongoDB)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server name | |
| type | Yes | Database type | |
| database | Yes | Database name | |
| outputFile | Yes | Output file path (will be created on remote server) | |
| dbUser | No | Database user | |
| dbPassword | No | Database password | |
| dbHost | No | Database host (default: localhost) | |
| dbPort | No | Database port | |
| compress | No | Compress output with gzip (default: true) | |
| tables | No | Specific tables to dump (MySQL/PostgreSQL only) |