Based on the knowledge sources available, there is no documented method in Airbyte for recovering CDC by restoring a backup file to avoid a full reload.
Here's what the knowledge sources do say about your situation: Options When CDC Position Is Lost When a CDC position becomes invalid (e.g., due to WAL recycling or log expiration), Airbyte offers two behaviors via the
Invalid CDC Position Behavior setting:
1.
Re-sync Data (Automatic Recovery): Automatically triggers a full refresh/re-snapshot of the entire database.
2.
Fail Sync (Manual Intervention): Stops the sync and marks it as failed, allowing you to investigate before taking action. [
CDC best practices]
Neither option involves restoring from a backup file. Editing Connection State (Limited Workaround) You can manually edit the
connection state in the Airbyte UI (Settings → Advanced → Connection State) to adjust the cursor position for incremental syncs. This could theoretically help you resume from a specific point in time. However:
• This is
only for cursor-based incremental syncs, not necessarily CDC WAL/LSN positions.
• The docs warn:
"Updates to connection state should be handled with extreme care. Updates may break your syncs, requiring a full historical sync of your data to fix. Make changes only as directed by the Airbyte team." [
manage connection state] Skipping the Initial Snapshot (Feature Request, Not Yet Available) There is an open GitHub issue requesting the ability to
skip the initial snapshot and start CDC from a current WAL LSN (after preloading data externally). This feature does
not currently exist in Airbyte — it has been escalated internally but is not yet implemented. [
Postgres CDC issue] Summary Unfortunately, the knowledge sources do not describe a supported way to recover CDC from a backup file to avoid a full reload. Your best options are:
•
Manually edit the connection state (with caution and ideally with Airbyte team guidance).
•
Contact Airbyte support if you are on Cloud, as they may be able to assist with state manipulation.
• Accept the full re-snapshot if the CDC position is truly lost. 👍 0 button 👎 0 button ℹ️
Tip: Mention
@kapa.ai in the thread for follow-ups or
DM the app for
1-to-1 help.