ssh_db_import
Import MySQL, PostgreSQL, or MongoDB databases from SQL files located on remote servers via SSH connection.
Instructions
Import database from SQL file (MySQL, PostgreSQL, MongoDB)
Input 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) |