Set Up Replication
Create a streaming replica of a Coolify database on another instance. Supports PostgreSQL (pg_basebackup) and Redis (REPLICAOF).
What happens automatically
- Source is configured for streaming replication (wal_level, max_wal_senders, pg_hba.conf)
- A dedicated replication user and replication slot are created
- Source is restarted via Coolify API if configuration changes require it
- A new PostgreSQL database is created on the target Coolify instance
- pg_basebackup copies all data from source to target
- Target is configured as a hot standby with standby.signal
- Replication status is verified automatically
- The replica is registered in Synchro and linked to the source