For Postgres is there any sort of command line utilities that allow a database to be “dumped to a file” and that allow that same database dump to be imported?
I know this can be done through PGAdmin, but I need to be able to do this on the cmd line.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yeah, take a look into
pg_dumpandpg_restorehttp://www.postgresql.org/docs/current/static/app-pgdump.html
http://www.postgresql.org/docs/current/static/app-pgrestore.html