Kevin Peters
10/05/2022, 3:13 AMCaio César P. Ricciuti
10/05/2022, 5:58 AMairbyte_db
volume from your test instance and use it on your new one... you can find it on var/lib/docker/volumes
🙂user
10/05/2022, 11:46 AMKevin Peters
10/05/2022, 12:05 PMKevin Peters
10/05/2022, 12:05 PMCaio César P. Ricciuti
10/05/2022, 1:21 PM0.40.4
and the other is running version 0.40.10
on the first instance (0.40.4
) I have the option to "export" my configuration (see pic 1). Do you have that? It's under settings/configuration. if you do, you can do and export and then upload to your new instance and have all you need. The question I have for @Marcos Marx (Airbyte) is that on the newer version 0.40.10
I don't see that option anymore, did Airbyte took this option out? (see pic 2).Marcelo Pio de Castro
10/05/2022, 2:33 PMMarcelo Pio de Castro
10/05/2022, 2:34 PMKevin Peters
10/05/2022, 2:41 PM.040.7
I believe to close a security gap. There doesn't seem to be an easy way to reenable it.
I've just done a pg_dump
from the Docker container and am working to get that imported into the standalone. It has been rocky thus far given difference configurations and user privileges. I'll report back on progress.Marcelo Pio de Castro
10/05/2022, 2:44 PMMarcos Marx (Airbyte)
10/05/2022, 4:28 PMKevin Peters
10/06/2022, 2:48 AMdocker exec airbyte-db pg_dump -U docker --column-inserts --data-only airbyte > airbyte.sql
to create the file.
3. Get the new Airbyte instance set up and connected to the standalone database. (You could also just connect the old instance to the new database if you'd like)
4. Run through the normal set up process so that the tables are created but don't create any sources or destinations.
5. I got the .sql file off the VM by setting up a quick SFTP drive.
6. Connect to the standalone postgres server so that you can run SQL commands directly. I used a visual editor.
7. Update the Workplace table to match the values in your original database; I pulled the values from my SQL file. I then deleted this insert statement from the sql file.
8. I then deleted all records from the actor_catalog
table (They'll be re-added in a second). This ensured my custom connectors transferred too.
9. Finally, I executed the full SQL statement which migrated the docker database to the standalone.
Total time was 20 minutes or so. It honestly took me WAY longer to figure out how to connect my Google Kubernetes instance to the Cloud SQL server. (That was ridiculous.)Sunny Hashmi (Airbyte)
10/06/2022, 7:36 PMCaio César P. Ricciuti
10/10/2022, 5:46 AMCaio César P. Ricciuti
10/14/2022, 3:25 PM[DEPRECATED] Marcos Marx