Hi All,
Could you please help me with simple script to check if Veeam Agent for Windows backup is success or failure using local computer event viewer?
Idea is to use this success or failure code during patch installation. Using third party patch management tool( not SSCM). We can run pre-deployment task which will check if Veeam Agent backup is successful and then start patching the system. If failure, then system wait until it see success code on system.
Thanks
Govi
-
- Expert
- Posts: 101
- Liked: 8 times
- Joined: Sep 26, 2017 11:38 am
- Full Name: Govinda Naik
- Contact:
-
- Product Manager
- Posts: 9793
- Liked: 2586 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: script to check backup success and failure
Hi Govi
Do you have Veeam Backup & Replication for Agent management? Or those all standalone agents?
Veeam Backup & Replication would allow you to use our own PowerShell command lets to check if the backup was successful.
For standalone agents, you can check for those events:
https://helpcenter.veeam.com/docs/agent ... tml?ver=60
For a start, check out this blog and then build your own script:
https://adamtheautomator.com/get-eventlog/
One example was also written by one of our forum members. The script is older, but reads windows event logs to send out a mail. That should give you an idea in which direction you need to develop your script:
post160402.html#p160402
Best,
Fabian
Do you have Veeam Backup & Replication for Agent management? Or those all standalone agents?
Veeam Backup & Replication would allow you to use our own PowerShell command lets to check if the backup was successful.
For standalone agents, you can check for those events:
https://helpcenter.veeam.com/docs/agent ... tml?ver=60
For a start, check out this blog and then build your own script:
https://adamtheautomator.com/get-eventlog/
One example was also written by one of our forum members. The script is older, but reads windows event logs to send out a mail. That should give you an idea in which direction you need to develop your script:
post160402.html#p160402
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Expert
- Posts: 101
- Liked: 8 times
- Joined: Sep 26, 2017 11:38 am
- Full Name: Govinda Naik
- Contact:
Re: script to check backup success and failure
Hi Fabian,
All agents are Standalone agents.
I will go through article and follow the direction.
Thanks
Govi
All agents are Standalone agents.
I will go through article and follow the direction.
Thanks
Govi
Who is online
Users browsing this forum: No registered users and 4 guests