Bucardo
Bucardo
Here are the most common use cases for Bucardo:
Your source database is running on an old version of PostgreSQL (earlier than PostgreSQL 9.2).
You’re migrating a PostgreSQL database from one cloud provider to another online.
Architecture
The following diagram shows the architecture for migrating an on-premises PostgreSQL database to the AWS Cloud by using Bucardo.

The diagram shows the following workflow:
Create an EC2 instance.
Install PostgreSQL and Bucardo
on the EC2 instance. Register the source and target database.
Add tables (which should be part of replication).
Start Bucardo replication.
Use the COPY command to migrate the initial load. Then, Bucardo replicates delta changes later.
Limitations
We recommend that you consider the following limitations of using Bucardo before starting your migration:
There is extra overhead on the source database during migration because Bucardo uses invocation-based replication.
Bucardo, when installed, must have enough disk space and other resources to accumulate the delta during backup and restore activity and to replicate the delta faster as soon as the restore finishes.