I'm trying to backup and restore database from DBname to DBname2 (e.g. copy
database. it is for example).
When i'm trying to use these commands :
#pg_dump -f DBname.tar -b -o -Ft DBname
#createdb DBname2
#pg_restore -Ft -d DBname2 -f DBname.tar
pg_dump works fine, but pg_restore produce this error message :
Archiver(db): Could not execute query. No result from backend.
What's wrong?
Help me, please.
---
cul8er!