Thanks for the help.
I have attached 2 scripts.
bash_backup_vco_vmware.sh (run on the VCO appliance = backs up the vmware database)
bash_transfer_backups_vco.sh (runs on a remote file server = copies the backups to itself)
****Updated scripts.****
Included section to include the .pgpass file instructions