input file appears to be a text format dump. Please use psql

前端 未结 7 1134
星月不相逢
星月不相逢 2020-12-04 09:33

I take backup using

pg_dump db_production > postgres_db.dump

and then I copy it to localhost using scp.

Now when I import on my

7条回答
  •  孤街浪徒
    2020-12-04 10:14

    For me, It's working like this one. C:\Program Files\PostgreSQL\12\bin> psql -U postgres -p 5432 -d dummy -f C:\Users\Downloads\d2cm_test.sql

提交回复
热议问题