What is the procedure to take database backup and recovery in PostgreSQL 9.3?
I am using SQL Dump for the same, but getting an error near pg_dump.
--Example
pg_dump testdb > backupfile
--Error occurred
ERROR: syntax error at or near "pg_dump"
LINE 1: pg_dump testdb > backupfile