Comprehensive data protection for all workloads
Post Reply
dellock6
VeeaMVP
Posts: 6139
Liked: 1932 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Feature Request: Override Backup Window

Post by dellock6 »

Hi all,
I've seen this error many times and I do know how to workaround it, for example if I want to manually retry a failed backup outside of the backup window.
Nonetheless, some customers get always stuck in this error since the job only states "Job failed. See log for details".

I would like to see two enhancements:
- a more descriptive error in the onscreen windows and email report, telling the job failed because it has a backup window
- the possibility to run the job manually from console even during excluded hours of day, with maybe some popup like "The backup Job has a backup window restriction. By running the backup now you are going to violate the restriction. Do you want to proceed anyway?"

Thanks!

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Gostev
Chief Product Officer
Posts: 31532
Liked: 6703 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Feature Request: Override Backup Window

Post by Gostev »

Makes sense, thanks Luca.
chrisdearden
Veteran
Posts: 1531
Liked: 226 times
Joined: Jul 21, 2010 9:47 am
Full Name: Chris Dearden
Contact:

Re: Feature Request: Override Backup Window

Post by chrisdearden »

how about making it a semi hidden feature ( like shift+right click on job )
dellock6
VeeaMVP
Posts: 6139
Liked: 1932 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Feature Request: Override Backup Window

Post by dellock6 » 1 person likes this post

Uhm, not sure... I prefer full disclosure, an admin is supposed to know what is doing, and a clear warning would be enough at least from your side, something like "Hey, I warned you!" :)

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
mbell98
Novice
Posts: 6
Liked: never
Joined: Feb 21, 2011 5:41 pm
Full Name: Mark Bell
Contact:

[MERGED] feature request - backup window override

Post by mbell98 »

I searched through the forums but didn't see this same request. Some background...

I normally set the "terminate job if it exceeds allowed backup window" on my jobs for a couple of reasons. First, I have seen jobs hang indefinitely and never receive a notification and second because I want to be conscious of infrastructure resource utilization. However, for several reasons there are times when I would like to manually run a backup job but if I just click "Start" it will fail because it is outside of the backup window. I would like to see a way to manually start a job without having to go into the settings, remove the backup window, run the job, then remember to have to go back and reset the backup window. Either the program would know that if you're manually starting a job then you want to run it outside of the backup window or possibly just send a popup that the job will run outside of the configured backup window and ask if that is o.k.

Has anybody else run into this?
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: feature request - backup window override

Post by veremin »

It should be possible to achieve what you're after with the little help of PowerShell. If you want to run the given job outside the specified backup window, then, the following script should help. It disables backup window, starts the job, and enables backup window again:

Code: Select all


asnp VeeamPSSnapin
$Job = Get-VBRJob -Name "Name of your backup Job"
$ScheduleOptions = $Job.info.ScheduleOptions
$ScheduleOptions.OptionsBackupWindow.IsEnabled = $false
Set-VBRJobScheduleOptions -Job $Job -Options $ScheduleOptions
Start-VBRJob -Job $Job
$ScheduleOptions.OptionsBackupWindow.IsEnabled = $True
Set-VBRJobScheduleOptions -Job $Job -Options $ScheduleOptions
Thanks.
dellock6
VeeaMVP
Posts: 6139
Liked: 1932 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: feature request - backup window override

Post by dellock6 »

Asked almost a year ago before joining Veeam:
http://forums.veeam.com/veeam-backup-re ... 16500.html
Thanks Mark for adding another vote to this request :)

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Post Reply

Who is online

Users browsing this forum: No registered users and 103 guests