Can I do this from my laptop using fly postgres import ...
? (via a tunnel?)
If so, is this an equivalent to a pg_restore ...
Yes, you can use to migrate local postgres to fly.
It is quite similar, instead of pg_restore it does:
pg_dump -d $SOURCE_POSTGRES_URI | psql -d $TARGET_POSTGRES_URI
If you are curious, the actual code is at
Got it working a few hours ago. Worked great! Thanks!
1 Like