我用的是后援
pg_dump db_production > postgres_db.dump
然后我使用scp将其复制到本地主机。
现在,当我在本地数据库上导入时,它会给出一个错误
pg_restore: [archiver] input file appears to be a text format dump. Please use psql.
通过使用Commad线路
pg_restore -d db_development postgres_db.dump
我用的是后援
pg_dump db_production > postgres_db.dump
然后我使用scp将其复制到本地主机。
现在,当我在本地数据库上导入时,它会给出一个错误
pg_restore: [archiver] input file appears to be a text format dump. Please use psql.
通过使用Commad线路
pg_restore -d db_development postgres_db.dump
暂无答案!
目前还没有任何答案,快来回答吧!