Answer the question
In order to leave comments, you need to log in
How to properly restore a Postgress database dump?
All the best! I'm trying to restore the database from the sql.gz dump with the command gunzip -c sql.gz | psql old
At first it cursed me for the role
ERROR: role "old" does not exist
ERROR: multiple primary keys for table "actions" are not allowed
ERROR: multiple primary keys for table "users" are not allowed
WARNING: no privileges could be revoked for "public"
REVOKE
WARNING: no privileges could be revoked for "public"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question