0

Trying to import a database.

Followed this documentation Restore: $ psql -U {user-name} -d {desintation_db}-f {dumpfilename.sql}

http://www.thegeekstuff.com/2009/01/how-to-backup-and-restore-postgres-database-using-pg_dump-and-psql/

enter image description here

What am I doing wrong?

1 Answer 1

2

You should run psql from a shell, not from a psql instance.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.