Portabase Logo
Databases

Supported Databases

List and configuration of databases managed by the agent.

The Portabase agent is designed to be agnostic and modular. It natively supports several database engines, whether for local (Docker) or remote backups.

Supported Databases

DatabaseType KeySupportTested Versions
PostgreSQLpostgresql✅ Stable12, 13, 14, 15, 16
MySQLmysql✅ Stable5.7, 8.0
MariaDBmysql✅ Stable10.x, 11.x
MongoDBmongodb🚧 Beta5.x, 6.x

Global Configuration

Regardless of the database, the configuration follows the same pattern. You must tell the agent how to connect (host, port, credentials).

This is the simplest method. The agent has a dedicated command to add a configuration without errors.

# Inside your agent directory
portabase db add .

The wizard will ask for:

  1. The database type (e.g., postgresql).
  2. The name (e.g., prod-app).
  3. The host (localhost or IP).
  4. The credentials.

You can also edit the databases.json (or .toml) file mounted in the container.

databases.json
{
  "databases": [
    {
      "name": "my-db",
      "type": "postgresql",
      "host": "db-prod",
      "port": 5432,
      "username": "admin",
      "password": "secret_password",
      "generatedId": "uuid-v4-unique"
    }
  ]
}

For more details on each engine, check the dedicated pages in this section.

On this page