in reply to conditional backup in postgres
http://www.postgresql.org/docs/current/static/app-pgdump.html
I don't think it accepts the Where clause.
An alternative would be to run a command like this:
And then you'll have output you could save. Look up the psql command's options, it will probably let you make the output more useful for your backup policy.psql mydb -c "select * from C_order where period=2009 and org<>'A'"
HTH,
SSF
|
|---|