if any example to check the result and send out alerts in the event of a failure
Pass whatever string you would type on the command line to Shell.Execute. Shell.DataAvailable will let you read the output. Shell.Completed will let you know when it's done, and you can check Shell.ErrorCode in the Completed event for any errors.
A ready to run example is difficult because I don't know the path to pg_dump on your system, nor the database or options you wish to use for the backup. Check out the documentation for pg_dump:http://www.postgresql.org/docs/9.2/stat ... gdump.html
Figure out the command you want to send to pg_dump and test it on the command line first. Once you have that, the RB side is simple.http://docs.realsoftware.com/index.php/Shell