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 (将#修改为@)