First off, you posted to the wrong forum. This one is to discuss existing scripts, which apparently you do not have.

See the manual for BackupEventLog().
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.