POSTGRESQL PG_DUMP
I have this command for creating backup of a database, but sadly it doesnt work.

pg_dump vdc (old database)|psql vdc_bak(new/backup database);

it is not able to create the backup dataabse.

please help.

thanks in advance.
POSTGRESQL PG_DUMP
===

I have this command for creating backup of a database, but sadly it doesnt work.

pg_dump vdc (old database)|psql vdc_bak(new/backup database);

it is not able to create the backup dataabse.

please help.

thanks in advance.