postgresql - pg_dump windows command prompt invalid command -
trying using pg_dump backup postgres db
i connected through command prompt , here command following tutorial http://www.postgresqltutorial.com/postgresql-backup-database/
pg_dump -u postgres -w -f t lucz_2017 > x:\postgres_backup\lucz_backup.tar
it gives me error
invalid command \postgres_backup. try \? help.
what doing wrong?
the db name , paths correct
windows 7 running cmd
you running pg_dump psql. out of psql , run pg_dump command windows command prompt. pg_dump own executable, different psql.
Comments
Post a Comment