Automatic backup job
Hey, does anyone here know how I can find a solution to my problem?
We have a very tight scheduled backup that runs almost all the time with a few exceptions, is it possible to create a script that looks whenever a backup is not running to patch the backupserver/notify us?
We have a very tight scheduled backup that runs almost all the time with a few exceptions, is it possible to create a script that looks whenever a backup is not running to patch the backupserver/notify us?
-
- Veteran
- Posts: 636
- Liked: 100 times
- Joined: Mar 23, 2018 4:43 pm
- Full Name: EJ
- Location: London
- Contact:
Re: Automatic backup job
You can set notifications on individual jobs. I started off with that, but then swapped to a single notification as I was getting over a hundred emails a day from my Veeam server.
Edit the job, go to Storage screen, click on Notifications tab. Set up the notification for that job.
Edit the job, go to Storage screen, click on Notifications tab. Set up the notification for that job.
-
- Veeam Vanguard
- Posts: 86
- Liked: 31 times
- Joined: Sep 28, 2017 7:47 am
- Full Name: Falko Banaszak
- Contact:
Re: Automatic backup job
I think the easiest way is to use Powershell to check if the Job is running.
With this you can see all Jobs which have the state "Running".
So you could loop this and schedule it in any desired way.
Regards !
Code: Select all
Get-VBRJob | where {$_.GetLastState() -eq "Running"}
So you could loop this and schedule it in any desired way.
Regards !
VCP6.5-DCV, VCP6-DCV, VMCE, VMCA, Veeam Vanguard, VMware vExpert
https://www.virtualhome.blog
https://www.virtualhome.blog
-
- Veeam Software
- Posts: 21139
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Automatic backup job
Another solution is to use the backup window setting to schedule some maintenance window when the jobs do not run.
-
- Veteran
- Posts: 636
- Liked: 100 times
- Joined: Mar 23, 2018 4:43 pm
- Full Name: EJ
- Location: London
- Contact:
Re: Automatic backup job
Only slight issue with that is that it'll terminate backups with a warning rather than allowing them to complete.
Re: Automatic backup job
Thank you for the reply guys, we will check out both the powershell idea and perhaps notification tab
Who is online
Users browsing this forum: Semrush [Bot] and 53 guests