Portabase Logo
Portabase AgentDatabases

Firebird

Specific configuration for Firebird.

Firebird is fully supported by the Portabase agent. We use native gbak and isql tools to ensure consistent and reliable backups.

Configuration

 {
      "name": "Database - Firebird",
      "database": "/var/lib/firebird/data/mirror.fdb",
      "type": "firebird",
      "username": "alice",
      "password": "fake_password",
      "port": 3050,
      "host": "db-firebird",
      "generated_id": "..."
    }

Docker Compose Example

Here is how to configure a Firebird service alongside the agent.

docker-compose.yml
services:
  db-firebird:
    image: firebirdsql/firebird
    container_name: db-firebird
    restart: always
    environment:
      - FIREBIRD_ROOT_PASSWORD=fake_root_password
      - FIREBIRD_USER=alice
      - FIREBIRD_PASSWORD=fake_password
      - FIREBIRD_DATABASE=mirror.fdb
      - FIREBIRD_DATABASE_DEFAULT_CHARSET=UTF8
    volumes:
      - firebird-data:/var/lib/firebird/data
    ports:
      - "3060:3050"
    networks:
      - portabase

  agent:
    image: portabase/agent:latest
    # ... agent configuration ...
    depends_on:
      - postgres
    networks:
      - portabase

networks:
  portabase:
    external: true

volumes:
  firebird-data:

If you use localhost as the host (because the agent is on the host machine and not in Docker, or via host-gateway), ensure your database is listening on all interfaces (0.0.0.0) or is accessible from the agent.

Last updated on

On this page