这是什么意思我正在尝试恢复我的 postgresql 数据库,这是我得到的但我没有看到它恢复表/数据/
C:\Program Files\PostgreSQL\9.4\bin\pg_restore.exe --host 123-97.compute-1.amazonaws.com --port 5432 --username "username" --dbname "mydb" --no-password --section pre-data --section data --section post-data --schema public --verbose "C:\db\employee.backup"
pg_restore: connecting to database for restore pg_restore: implied data-only restore
Process returned exit code 0.
我正在使用 Windows 8.1
最佳答案
我在恢复具有不同名称的架构备份时遇到此错误。当我恢复具有相同名称的模式时,它就像一个魅力,后来我重命名了它。
备选方案:从严格限制的 pg_dump
转储中执行 pg_restore
并避免 --schema
(甚至可能是 --table
) 使用 pg_restore
时的选项。
关于postgresql - pg_restore : Its not restoring my db,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37016024/