I am running Progress 10.1C on a linux server. I am attempting to script an autobackup script.
my script does work but it has no error checking. I want to put an exception for error checking. Does probkup give any error message if it fails a backup. I would like it to email me if it fails. can someone help? Here is a part of my script. if i can find a way to parse the backuplog file for an error message and then trigger a SMTP procedure it would be great. I dont know how to recognize the logic in the script. maybe an 'if' statement?
my script does work but it has no error checking. I want to put an exception for error checking. Does probkup give any error message if it fails a backup. I would like it to email me if it fails. can someone help? Here is a part of my script. if i can find a way to parse the backuplog file for an error message and then trigger a SMTP procedure it would be great. I dont know how to recognize the logic in the script. maybe an 'if' statement?
Code:
probkup online <DBDIR>/<DBNAME> <BACKUPDIR>/<BACKDB> -com >> <BACKUPLOG>