Skip to content

Instantly share code, notes, and snippets.

@astopo
Created July 27, 2015 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astopo/bb8e8c76bf6124082e2c to your computer and use it in GitHub Desktop.
Save astopo/bb8e8c76bf6124082e2c to your computer and use it in GitHub Desktop.
Postgres psql - export and import database
@rajesh-ivd
Copy link

I hope this message finds you well. I'm currently facing an issue when trying to import a PostgreSQL database backup, and I'm seeking assistance to resolve it.

The problem I'm encountering is as follows:

Error Message:
Screenshot (4)
Screenshot (5)
Screenshot (6)
Screenshot (7)
Screenshot (8)

The error seems to indicate that I'm performing a data-only restore, and I may be missing schema objects. I would like to restore both data and schema objects, and I'm unsure how to proceed.

Any suggestions, insights, or explanations on how to address this issue would be highly valuable. Thank you in advance for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment