Comprehensive data protection for all workloads
Post Reply
calligraphy

Automatic backup job

Post by calligraphy »

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?
ejenner
Veteran
Posts: 636
Liked: 100 times
Joined: Mar 23, 2018 4:43 pm
Full Name: EJ
Location: London
Contact:

Re: Automatic backup job

Post by ejenner »

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.
falkob
Veeam Vanguard
Posts: 86
Liked: 31 times
Joined: Sep 28, 2017 7:47 am
Full Name: Falko Banaszak
Contact:

Re: Automatic backup job

Post by falkob » 1 person likes this post

I think the easiest way is to use Powershell to check if the Job is running.

Code: Select all

Get-VBRJob | where {$_.GetLastState() -eq "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 !
VCP6.5-DCV, VCP6-DCV, VMCE, VMCA, Veeam Vanguard, VMware vExpert
https://www.virtualhome.blog
foggy
Veeam Software
Posts: 21070
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Automatic backup job

Post by foggy » 1 person likes this post

Another solution is to use the backup window setting to schedule some maintenance window when the jobs do not run.
ejenner
Veteran
Posts: 636
Liked: 100 times
Joined: Mar 23, 2018 4:43 pm
Full Name: EJ
Location: London
Contact:

Re: Automatic backup job

Post by ejenner »

Only slight issue with that is that it'll terminate backups with a warning rather than allowing them to complete.
calligraphy

Re: Automatic backup job

Post by calligraphy »

Thank you for the reply guys, we will check out both the powershell idea and perhaps notification tab
Post Reply

Who is online

Users browsing this forum: No registered users and 74 guests