【发布时间】:2010-12-24 09:20:15
【问题描述】:
我是 psql 的新手。我从我的服务器 data.dump 文件中得到。我需要在本地恢复它。 我试过这些命令。
i) psql -U postgres dbname -f servicedb.dump
Error:
psql: warning: extra command-line argument "-f" ignored
psql: warning: extra command-line argument "servicedb.dump" ignored
ii) psql -U postgres dbname 这个“.dump”文件是什么以及如何恢复它? Error:
^
ERROR: syntaxe error at or near "☺"
LINE 1: ☺☺
【问题讨论】:
-
笑脸+1 :)
标签: postgresql dump database-restore