I have tried all the options described in the docs and other community posts. Can someone please take a look at this topic?
We’re currently trying to go to production with Fly using a production organisation, and we’re setting up a process to regularly copy production data to dev for proper scenario testing.
Overall, there is good news and bad news. The good news is that fly pg import is just a thin wrapper around pg_dump, so you guys could make your own script that does the same thing it does. (I.e., dump from the source-uri, and restore into local.)
The bad news is that all of the fly pg commands as well as the postgres-flex images themselves are officially deprecated now, so there will generally be rougher and rougher sailing, as time goes on.
How large is the voxcape_api database? Also, how beefy are the Machines in the two Postgres apps?
@mayailurus it’s only a few hundred MBs actually, so not so big for now.
Was able to fix it by attaching public ipv4s to both db apps and used pg_dump + psql to copy from one to another. I added extra flags like ON_ERROR_CONTINUE=on to the psql part so it keeps running if any CREATE statement fails, but this is completely optional.