psql 转储本地到远程服务器:没有这样的文件或目录

psql 转储本地到远程服务器:没有这样的文件或目录
psql -f alldb.sql postgres

输出

alldb.sql:没有这样的文件或目录

已经尝试过“psql:无法连接到服务器:没有这样的文件或目录”

https://stackoverflow.com/questions/42653690/psql-could-not-connect-to-server-no-such-file-or-directory-5432-error

/var/log/postgresql/postgresql-9.5-main.log 中没有错误

2019-07-01 22:00:53 IST [2514-1] 日志:autovacuum 启动程序已启动 2019-07-01 22:00:53 IST [2509-1] 日志:数据库系统已准备好接受>连接 2019-07 -01 22:00:53 IST [2517-1] [未知]@[未知] 日志:不完整>启动数据包 2019-07-01 22:01:20 IST [2892-1] iitians@postgres 致命:角色“iitians” " >不存在 2019-07-01 22:03:31 IST [2924-1] root@postgres 致命:角色“root”不存在 2019-07-01 22:03:48 IST [2933-1] root@postgres 致命:角色“root”不存在 2019-07-01 23:22:40 IST [4052-1] root@postgres 致命:角色“root”不存在 2019-07-01 23:35 :08 IST [2509-2] 日志:收到快速关闭请求 2019-07-01 23:35:08 IST [2509-3] 日志:中止任何活动事务 2019-07-01 23:35:08 IST [2514- 2]日志:autovacuum启动器关闭2019-07-01 23:35:08 IST [2511-1]日志:关闭2019-07-01 23:35:08 IST [2511-2]日志:数据库系统已关闭down 2019-07-01 23:35:09 IST [4176-1] 日志:数据库系统于 >2019-07-01 23:35:08 IST 关闭 2019-07-01 23:35:09 IST [4176 -2] 日志:Mu​​ltiXact 成员环绕>保护现已启用 2019-07-01 23:35:09 IST [4180-1] 日志:autovacuum 启动器已启动 2019-07-01 23:35:09 IST [4175-1]日志:数据库系统已准备好接受>连接2019-07-01 23:35:09 IST [4182-1] [未知]@[未知]日志:不完整>启动数据包

相关内容