From karl at pearhealthlabs.com Fri Apr 26 17:33:43 2024 From: karl at pearhealthlabs.com (Karl Beck) Date: Fri, 26 Apr 2024 10:33:43 -0700 Subject: [Bucardo-general] Consolidating Multiple DBs into One Using Custom Schemas Message-ID: Hey - Bucardo is a valuable tool we're using to migrate three Postgres databases from one AWS RDS host to a single Postgres database. Our aim is to consolidate these databases into one, organizing them into unique schemas for each database's tables. We've utilized Bucardo's 'customname' feature for unique schema mapping during synchronization. However, Bucardo checks for matching source and target schemas during validation, leading to issues since our three source databases have differing schemas. Our current workaround involves maintaining a schema ('public') that matches the source alongside the custom schema. Additionally, we've encountered a problem where Bucardo migrates data to both the 'public' and the new 'customname' schema when multiple syncs are configured & enabled. Is there a way to effectively run multiple synchronizations to consolidate three databases into one, while keeping them separated by unique schemas? Example- *Source DB (3 separate DBs):* *DB.Schema.Table* apple.public. pear.public.
mango.public.
*Target DB ( 1 DB )* *DB.Schema.Table* Fruits.apple.
Fruits.pear.
Fruits.mango.
Thank you! -- The information herein is intended for the person or entity to which it has been addressed. This document may contain proprietary, business-confidential and/or privileged material. Any unauthorized use, review, transmission, distribution, reproduction is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: