如何解决pg_restore:错误:无法从输入文件Oracle 虚拟机中的 DBeaver for PostgreSQL读取,对于 .tar 文件
使用 DBeaver 21.0.3 和 Postgresql13.2,在带有 Oracle linux7.9 的 Oracle VirtualBox 上的 Oracle 虚拟机上,在 MacOS Catalina:(没有安装 PgAdmin):
尝试使用以下恢复设置恢复 dvdrental.tar:
Format: custom
Backup File: /home/oracle/Downloads/dvdrental.tar
Extra command args:
Authentication:
Username: (given)
Password: (given)
save
local client: /usr/bin
Start
出现错误:
Warning:
Database restore finished with warnings:
Please check the error log
OK
/usr/bin/pg_restore --verbose --host=localhost --port=5432 --username= ...
Task 'Postgresql restore' start at...
pg_restore: error: Could not read from input file: end of file
Task 'Postgresql restore' finished:
Postgresql restore:
Task [Postgresql rstore] is completed (62806ms)]
Object9s) processed: dvdrental
OK
开始
重复相同的错误日志..
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。