ssh_db_import
Import SQL files into MySQL, PostgreSQL, or MongoDB databases on remote servers through SSH connections. Specify database type, credentials, and file path to restore data.
Instructions
Import database from SQL file (MySQL, PostgreSQL, MongoDB)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server name | |
| type | Yes | Database type | |
| database | Yes | Target database name | |
| inputFile | Yes | Input file path (on remote server) | |
| dbUser | No | Database user | |
| dbPassword | No | Database password | |
| dbHost | No | Database host (default: localhost) | |
| dbPort | No | Database port | |
| drop | No | Drop existing collections/tables before import (MongoDB only, default: true) |