Hi, all, I am user the docker version of Airbyte, ...
# replication-troubleshooting
w
Hi, all, I am user the docker version of Airbyte, I have synced a few databases that is huge. Now i want to switch the airbyte to a different machine, so I would like to clone everything there without the need to re-sync each database. How ccan I do it? I have copied the airbyte folder and also all the docker images over, but I still see a brand new airbyte when I launch it. What am I missing?
✍️ 1
u
@[DEPRECATED] Marcos Marx turned this message into Zendesk ticket 2826 to ensure timely resolution!
m
Airbyte has a postgresql database, if you are deploying everything equally, you must be able to copy the database volume, and restore it on the other machine. Otherwise, if you are using an external database, you need to dump the current database and restore it on the new one.
w
hi, Marcelo, is that the airbyte/db image you are talking about? I already cloned that and restored in the new machine. Is there anything else that i am missing? Are user data stored in anywhere else other than the docker compose folder and in the docker images?
m
No, the image is one thing but there is the docker volume of the database, you need to copy it's content to the new machine: https://github.com/airbytehq/airbyte/blob/804bf47484cc7fe5850223f26c5359f5cde3ed36/docker-compose.yaml#L208 in a linux system, it is usually stored in: /var/lib/docker/volumes/airbyte_db
s
@Wayne thanks for the question. Marcelo has the right answer here. Let us know if you’re running into any difficulties.
w
Thank you Marcelo and Saj, this is very helpful tips. I finally got this issue resolved!
s
Thanks Wayne, feel free to ask more questions!