Restoring PostgreSQL 9.1.9 backup with 9.3.0 results in error [closed]
-
01-11-2019 - |
题
How can I resolve the following errors in 9.3.0:
psql mydb < ~/mydb_2013-10-25.backup.tar
results in
...
ALTER TABLE
ALTER TABLE
ALTER TABLE
ERROR: could not open file "$$PATH$$/2309.dat" for reading: No such file or directory
setval
--------
1
(1 row)
...
I see the file 2309.dat
in the tar, so I am slightly confused what can be the reason. I run 9.3.0
on OS X and made backup with 9.1.9
on Ubuntu.
Edit: I managed to restore data with pgAdmin3-1.18.1.
没有正确的解决方案
不隶属于 dba.stackexchange