My software is deployed in various cities, each have a database, but they have different authorizations such as:
central DB
/\
/ \
DB1 DB2
/\ /\
a b c d
Databases a & b need replication to DB1. Databases DB1 & DB2 need replication to central DB.
How can I accomplish this?