I would like to create a script that emails me when a scheduled daily backup runs. I'd prefer the email to indicate success or failure. I understand that this is not an easy thing to do with Windows Server 2008.
Is it possible? If so, how?
Thanks
From serverfault
hamlin11
-
Easiest way would be to setup an alert from the eventlog for backup events.
Otherwise roll your own PowerShell script to control the backup and alerting (WSB comes with a number of cmdlets for PowerShell)
hamlin11 : Could you please elaborate a little on setting up an alert from the eventlog? Thanks!commandbreak : check out http://www.petri.co.il/assigning-custom-tasks-to-events.htmaleroot : @commandbreak : can you make me an example of how to check successful backup with cmdlets of powrshell ? thanksFrom commandbreak
0 comments:
Post a Comment