Skip to main content
Glama

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
NameRequiredDescriptionDefault
serverYesServer name
typeYesDatabase type
databaseYesTarget database name
inputFileYesInput file path (on remote server)
dbUserNoDatabase user
dbPasswordNoDatabase password
dbHostNoDatabase host (default: localhost)
dbPortNoDatabase port
dropNoDrop existing collections/tables before import (MongoDB only, default: true)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bvisible/mcp-ssh-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server