Hi all, I am working with airbyte to replicate dat...
# replication-troubleshooting
v
Hi all, I am working with airbyte to replicate data from postgres to snowflake. The source database contains ~1000 tables, but only 423 need to be replicated to the target. I did the fastuous work of clicking 423 times in the "replication" part of my connection in order to put that in place. I want to know if I can somehow export this configuration and work with it in an easier way. I have looked in the airbyte-db internal database and the table "connection" seems to have what I need : a column field_selection_data containing a json file with something like "<table_name>":true, "<table_name>":false BUT. It does not contain the proper data : there is apparently no link between this table and the actual configuration of the task. Then, I try to use the API, (yes I should have done it sooner) but when I try to update the connection with the json payload that I got from the API, just to see if the endpoint works correctly and I got java NullPointer exceptions... To put it shortly : is there an easy way to extract a connection configuration, modify it and the import it again ? Many thanks to anyone being able to help 😊
m
You can use the cli for that, should be easy: https://docs.airbyte.com/cli-documentation
n
Hi, Vincent! Let me know if Marcelo's comment helps! Thanks, Marcelo! values critical
v
Hi ! I'm gonna try to use the cli today. There was an error in the install.sh script provided in the above documentation, it points to version 0.42.0 of octavia-cli docker-image that is not present in the docker hub, only version 0.42.1 is present. I raised an issue https://github.com/airbytehq/airbyte/issues/24256 🙂
n
Oh, you're right! Thanks!