Search Postgresql Archives

pg_dump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

 

How can I please a directory folder where my backup files will be placed?  I am calling pg_dump

 

 

C:\Program Files (x86)\PostgreSQL\9.0\bin>pg_dump -i -h localhost -p 5433 -U postgres -f add.sql --column-inserts -t address my_db

C:\Program Files (x86)\PostgreSQL\9.0\bin>pg_dump -i -h localhost -p 5433 -U postgres -f phone.sql --column-inserts -t phone my_db

 

I tried these but did not work.

 

C:\Program Files (x86)\PostgreSQL\9.0\bin>pg_dump -i -h localhost -p 5433 -U postgres -f C:\dbbackup13092011\add.sql --column-inserts -t address my_db

C:\Program Files (x86)\PostgreSQL\9.0\bin>pg_dump -i -h localhost -p 5433 -U postgres -f C:\dbbackup13092011\phone.sql --column-inserts -t phone my_db

 

C:\dbbackup does not exist yet.

 

Please advise.

 

Thanks and Regards,

Rogel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux