postgresql – pg_restore:[archiver]输入文件在postgres中的错
发布时间:2020-12-13 15:53:05 所属栏目:百科 来源:网络整理
导读:我试图通过使用命令在我的本地系统中转储数据库: pg_restore --host=localhost --port=5432 --dbname=dev_db --no-owner --no-privileges db_dump_new.backup 但我收到错误: pg_restore: [archiver] input file is too short (read 0,expected 5) 我究竟做
我试图通过使用命令在我的本地系统中转储数据库:
pg_restore --host=localhost --port=5432 --dbname=dev_db --no-owner --no-privileges db_dump_new.backup 但我收到错误: pg_restore: [archiver] input file is too short (read 0,expected 5) 我究竟做错了什么? 解决方法
我遇到了同样的错误.在我的情况下,我只是忽略了在命令末尾指定备份文件.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |