Portabase Logo
Portabase AgentDatabases

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 VersionsRestore
PostgreSQLpostgresql✅ Stable12, 13, 14, 15, 16, 17 and 18Yes
MySQLmysql✅ Stable5.7, 8 and 9Yes
MariaDBmysql✅ Stable10 and 11Yes
MongoDBmongodb✅ Stable4, 5, 6, 7 and 8Yes
SQLitesqlite✅ Stable3.xYes
Redisredis✅ Stable2.8+No
Valkeyvalkey✅ Stable7.2+No
Firebirdfirebird✅ Stable3.0, 4.0, 5.0Yes
MSSQL Servermssql❌ En cours-Yes

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": "Database 1 - PostgreSQL",
      "database": "my-db",
      "type": "postgresql",
      "host": "db-prod",
      "port": 5432,
      "username": "admin",
      "password": "secret_password",
      "generated_id": "uuid-v4-unique"
    }
  ]
}

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

On this page