Swap the SSH+scp-from-backup approach for a direct pg_dump against the prod Postgres using PROP_PROD_DB_URL already in .envrc. Pin the pg_dump/pg_restore/psql binaries to the @18 series so they match the prod server version, and stream per-object progress via --verbose on both tools. |
||
|---|---|---|
| .. | ||
| backup_prop_db.sh | ||
| recalibrate_algo.py | ||
| restore_prod_to_local.sh | ||