f3l1x
← Wiki

Hosting / Webhosting / VPS

Last updated

Static

Resources

Fly.io

Migrace Postgres

export HEROKU_URL="postgres://[user]:[password]@[server]:5432/[db]"
export FLY_URL="postgres://[user]:[password]@[service].internal:5432/[db]"

pg_dump -Fc --no-acl --no-owner -d $HEROKU_URL | pg_restore --verbose --clean --no-acl --no-owner -d $FLY_URL
esc

Type to search. ↑ ↓ to move, ↵ to open.