Hello,<div><br></div><div>I am trying to take a backup of my database using</div><div><br></div><div>pg_dump -Ft <i>mydatabasename</i> > <i>mydatabase</i>.tar;</div><div><br></div><div>but it gives me an error as "syntax error at or near "pg_dump""</div>
<div>i don't understand what is the problem.</div><div><br></div><div>my postgre version is</div><div>"PostgreSQL 8.4.14, compiled by Visual C++ build 1400, 32-bit"</div>