I need to reinstall aibyte, but in a lower version...
# replication-ask-ai
r
I need to reinstall aibyte, but in a lower version than 2.0, IS THERE A WAY TO RECOVER CDC RESTAURING SOMEFILE FROM BACKUP? DONT WANT TO FULL LOAD AGAIN
k
Based on the knowledge sources available, I can provide some relevant information, but I need to be transparent about the limitations. Restoring Airbyte with CDC via Database Backup The knowledge sources confirm that database backup and restore is possible when reinstalling Airbyte. The official documentation describes the restore process for Kubernetes deployments: 1. Copy the SQL backup file into your pod:
Copy code
kubectl cp ./airbyte_backup.sql airbyte/airbyte-db-0:/tmp/airbyte_backup.sql
2. Drop and recreate the schema:
Copy code
kubectl exec -n airbyte -it airbyte-db-0 -- bash -c "psql -U airbyte -d db-airbyte -c 'DROP SCHEMA public CASCADE; CREATE SCHEMA public;'"
3. Restore the database:
Copy code
kubectl exec -n airbyte -it airbyte-db-0 -- bash -c "psql -U airbyte -d db-airbyte < /tmp/airbyte_backup.sql"
[Helm chart V2 restore] Important Caveats Regarding CDC specifically: The knowledge sources do not explicitly confirm that restoring the Airbyte internal database will preserve CDC replication slot state and allow you to resume CDC without a full reload. The Airbyte internal database stores connection configurations and sync states, but CDC replication slots live on the source database side. Regarding version downgrade: The knowledge sources include a strong warning from an Airbyte team member that database schemas differ significantly between versions, making database dumps unreliable across version gaps: > "We also tried migrating by performing database dumps between instances, but the schemas appear to differ significantly between versions, which makes this approach unreliable." [abctl migrate discussion] Regarding CDC and full loads: One knowledge source explicitly states that even with CDC, a full refresh sync is required the first time Airbyte connects. [CDC forum post] Recommendation The knowledge sources do not provide enough information to confidently confirm that restoring a backup will allow you to skip a full CDC reload when downgrading versions. Given the schema differences between versions, this approach carries significant risk. I'd recommend reaching out to the Airbyte community or support for guidance specific to your version downgrade scenario. 👍 0 button 👎 0 button â„šī¸ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.