Restoring PostgreSQL 9.1.9 backup with 9.3.0 results in error [closed]
-
01-11-2019 - |
Question
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.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange