首先我对pgadmin和postgresql相对较新
所以我用纯文本的pgadmin完成了备份,它将我需要的数据从一个表转储到一个叫做倒伏的文件中。它来自我们的实时服务器的plans_to_lodge表。现在要测试一个新的Web应用程序前端我想pg_restore它但这就是我得到的
> pg_restore -h localhost -d TestingDatabase2 -t lodging_of_plans -n plan_authentication "C:\lodging"
pg_restore: [archiver] could not open input file "C:\lodging": No such file or directory
文档没有给出表恢复的示例 是的,该文件位于C盘中的该位置
答案 0 :(得分:1)
问题是它是根文件夹,所以当我把名为accommodation的文件放到另一个文件夹中时就是这样
C:\folder\lodging
它现在可用于更多错误