A recommended approach for migrating a production Airbyte instance while maintaining backwards compatibility is to use
dual writing. This method involves writing new incoming data to both the old and new systems simultaneously, allowing you to test the new setup without disrupting existing workflows.
Steps: 1.
Update the default destination version for your workspace to a version compatible with your new setup. 2.
Create and configure a new destination (e.g., a new schema or database) to avoid collisions with the existing data. 3.
Set up a new connection using your existing source and the new destination, matching the settings of your current connection. 4. For
full refresh syncs, simply enable the new connection to create a parallel copy for testing. 5. For
incremental syncs: - Copy the already replicated raw data to the new schema. - Copy the connection state from the old connection to the new one to prevent re-syncing historical data. - Enable the new connection to start parallel syncing. 6.
Switch your downstream systems (e.g., dashboards) to use the new destination once you are confident in the migration. 7.
Pause or remove the old connection when you are ready. This approach minimizes downtime and risk, ensuring that both the old and new systems remain in sync during the migration process. For more details and step-by-step instructions, see the documentation on [Upgrading Connections One by One with Dual-Writing](
https://docs.airbyte.com/release_notes/upgrading_to_destinations_v2#upgrading-connections-one-by-one-with-dual-writing).