-
- Expert
- Posts: 203
- Liked: 34 times
- Joined: Jul 26, 2012 8:04 pm
- Full Name: Erik Kisner
- Contact:
v9 GFS Job Schedule Questions
Hi there,
Tape jobs are... unreliable. For example, if the tape job is running and backing up an endpoint backup, and the endpoint backup job starts, it will kill the tape job to unlock the endpoint backup (which to me seems backwards, but is not the purpose of this post).
The GFS job has but one start time. If said GFS job fails halfway through, one must manually start the job again to ensure that all data is on tape. Another example would be an active-full job being run later than usual, say for example because it failed the first go-around and the tape job already started (and went past it).
This was previously mitigated by the continuous option, which is no longer available for the GFS schedule.
Tape jobs are... unreliable. For example, if the tape job is running and backing up an endpoint backup, and the endpoint backup job starts, it will kill the tape job to unlock the endpoint backup (which to me seems backwards, but is not the purpose of this post).
The GFS job has but one start time. If said GFS job fails halfway through, one must manually start the job again to ensure that all data is on tape. Another example would be an active-full job being run later than usual, say for example because it failed the first go-around and the tape job already started (and went past it).
This was previously mitigated by the continuous option, which is no longer available for the GFS schedule.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: v9 GFS job - No more continuous?
Hi, Erik,
Not sure whether I follow you on that, can you shed more light on what doesn't work as expected in your opinion? The fact that tape GFS cycles don't retry itself, if failed or something else?
Also, I'm wondering what schedule option you refer to as continuous - "as new file new backup files appear"?
Thanks.
Not sure whether I follow you on that, can you shed more light on what doesn't work as expected in your opinion? The fact that tape GFS cycles don't retry itself, if failed or something else?
Also, I'm wondering what schedule option you refer to as continuous - "as new file new backup files appear"?
Thanks.
-
- Expert
- Posts: 203
- Liked: 34 times
- Joined: Jul 26, 2012 8:04 pm
- Full Name: Erik Kisner
- Contact:
Re: v9 GFS job - No more continuous?
Sorry, yes, I do mean "As new backups files appear".
The problem is this:
If a full backup takes place on say... Tuesday, where it was normally supposed to run on Friday (which has definitely happened, especially during times where support tickets are involved) then it will not be in the tapes unless the GFS job is manually triggered.
I'm sure it would retry, at least a few times. But that wouldn't help if the tape job completes successfully and misses a file outright.
The problem is this:
If a full backup takes place on say... Tuesday, where it was normally supposed to run on Friday (which has definitely happened, especially during times where support tickets are involved) then it will not be in the tapes unless the GFS job is manually triggered.
I'm sure it would retry, at least a few times. But that wouldn't help if the tape job completes successfully and misses a file outright.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: v9 GFS job - No more continuous?
Thanks for bringing this up! I had a conversation with QA team and we’ve decided that endpoint job’s behavior in this case is not correct. Tape job should not be affected while endpoint job should fail: since Endpoint has 23-hour job retry cycle and will continue the backup once tape job succeeds.
I’d say GFS tape job is ‘almost continuous’: if it detects the incomplete restore point on disk or running source job it should restart itself every hour and check the source files. It should continue the same 'restart' procedure until the next scheduled start of the job (that implies non-endpoint jobs).
I’d say GFS tape job is ‘almost continuous’: if it detects the incomplete restore point on disk or running source job it should restart itself every hour and check the source files. It should continue the same 'restart' procedure until the next scheduled start of the job (that implies non-endpoint jobs).
-
- Expert
- Posts: 203
- Liked: 34 times
- Joined: Jul 26, 2012 8:04 pm
- Full Name: Erik Kisner
- Contact:
Re: v9 GFS job - No more continuous?
Glad to hear the endpoint/tape functionality will be fixed! I agree that the tape job should be more important than the endpoint job. In an ideal world, it would simply tell the tape job to put the endpoint backup to the end of the list, and try it again before it finishes the job.
As for the "almost continuous" GFS, I've seen nothing of the sort. My active full jobs ran on Friday, the GFS job didn't start until Saturday. I manually stopped the GFS job Saturday night because it was using the wrong tapes (different forum thread on that subject) and it sat doing nothing. I did not disable the GFS tape job, I merely stopped it.
With the previous jobs, if it was set to continuous (which I find faster to write than "as new backup files appear", hopefully this doesn't cause misunderstandings) it would try, and try, and try, and try. On days where there was a persistent issue I'd generally get 40-60 or so emails from the B&R server over the course of the night. Unless it was stopped, then it went straight to disabled. If a full active job ran, as soon as it was finished, the tape job would start putting the VIB/VBK to tape.
As for the "almost continuous" GFS, I've seen nothing of the sort. My active full jobs ran on Friday, the GFS job didn't start until Saturday. I manually stopped the GFS job Saturday night because it was using the wrong tapes (different forum thread on that subject) and it sat doing nothing. I did not disable the GFS tape job, I merely stopped it.
With the previous jobs, if it was set to continuous (which I find faster to write than "as new backup files appear", hopefully this doesn't cause misunderstandings) it would try, and try, and try, and try. On days where there was a persistent issue I'd generally get 40-60 or so emails from the B&R server over the course of the night. Unless it was stopped, then it went straight to disabled. If a full active job ran, as soon as it was finished, the tape job would start putting the VIB/VBK to tape.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: v9 GFS job - No more continuous?
When you stop the tape GFS job it should sit and wait for the next scheduled date (so it stop restarting itself). Let’s find out the root cause of the wrong tape being used in the weekly media set and then look across the logs once again to check it acts correctly when you stop the job. There is no need in separate case – just add time stamp when the tape job was stopped to the case. Thanks
-
- Enthusiast
- Posts: 33
- Liked: 2 times
- Joined: May 28, 2015 3:23 am
- Contact:
[MERGED] GFS Tape job Schedule Question.
I have just updated to V9, and have created a Tape job targeted at a GFS Media pool, I have set these to run on Tuesdays. However, I cannot set the exact start time. I want it at 8am, after all the night's backups are completed.(Reduce load on Primary Backup storage, as it is doing forever forwards) The job is scheduled to run at 12:00 AM.
Can I change this in powershell?
BTW, Loving the new interface/features so far.
Can I change this in powershell?
BTW, Loving the new interface/features so far.
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
[MERGED] Re: GFS Tape job Schedule Question.
Hello,
By design, the tape GFS job is running the whole day waiting for new restore points from the source.
Once it receives the new restore point, it copies the newest backup(creates a full) to tape. When restore points from all sources are copied to tape, the job is finished.
The behavior can not be changed in powershell.
Thanks!
By design, the tape GFS job is running the whole day waiting for new restore points from the source.
Once it receives the new restore point, it copies the newest backup(creates a full) to tape. When restore points from all sources are copied to tape, the job is finished.
The behavior can not be changed in powershell.
Thanks!
-
- Expert
- Posts: 203
- Liked: 34 times
- Joined: Jul 26, 2012 8:04 pm
- Full Name: Erik Kisner
- Contact:
Re: v9 GFS Job Schedule Questions
I will point out that I have not observed this behaviour. But then I've also not had a successful job run yet, so I only know that after it is manually stopped it gives up. I assume it will start looking again as described after the job is started and runs successfully?
For reference, the existing ticket which deals with our job needing to be stopped is 01667096, presently with R&D for hotfix development.
For reference, the existing ticket which deals with our job needing to be stopped is 01667096, presently with R&D for hotfix development.
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
If job is stopped manually, it will not retry. If you want to finish writing you can manually start the GFS job and choose the same media set(weekly/monthly/quarterly/yearly), VBR will write to the tape only those backups which are not copied yet.
Hope my explanation is clear.
Thanks!
Hope my explanation is clear.
Thanks!
-
- Enthusiast
- Posts: 33
- Liked: 2 times
- Joined: May 28, 2015 3:23 am
- Contact:
Re: v9 GFS Job Schedule Questions
What happens if the tape job starts on Tuesday, writes a full of a VM to tape, and is busy with others, and a new incremental comes on for an already completed machine, dose it do it again?
I am backing up 50TB each week to tape via Dell TL4000 and it takes 2-3days, during which time there are new RP added to those VMs...
I am backing up 50TB each week to tape via Dell TL4000 and it takes 2-3days, during which time there are new RP added to those VMs...
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: v9 GFS Job Schedule Questions
Nope, it should not do it again. Thanks.
-
- Service Provider
- Posts: 51
- Liked: 3 times
- Joined: Mar 13, 2015 1:20 pm
- Full Name: Steen
- Contact:
[MERGED] GFS tape and montly time
Hi.
I dont understand why i cant choose start time for monthly.
It always starts at 00:00:00?
/Steen
I dont understand why i cant choose start time for monthly.
It always starts at 00:00:00?
/Steen
Regards Steen
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
Hi Steen,
You are correct, but design the tape-GFS job is running the whole day waiting new restore points and once it has them it performs a write.
You are correct, but design the tape-GFS job is running the whole day waiting new restore points and once it has them it performs a write.
-
- Service Provider
- Posts: 24
- Liked: 1 time
- Joined: Aug 28, 2013 10:44 am
- Full Name: Werner Steinegger
- Contact:
[MERGED] Feature Request: Tape GFS Job Start-Time-Setting
Hello!
We just update to v9.0.0.902 and found the new GFS Tape Pool Setting After we recreate our Backup Copy 2 Tape Job we saw that we only can Change the day but not the running start-time. Is there any info about when we can set up this, 'cause midnight isn't such a good time for that
Best regards Werner
We just update to v9.0.0.902 and found the new GFS Tape Pool Setting After we recreate our Backup Copy 2 Tape Job we saw that we only can Change the day but not the running start-time. Is there any info about when we can set up this, 'cause midnight isn't such a good time for that
Best regards Werner
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
Hello Werner,
We do receive the similar requests from time to time and thinking to implement backup window in one of the next releases.
Thanks!
We do receive the similar requests from time to time and thinking to implement backup window in one of the next releases.
Thanks!
-
- Enthusiast
- Posts: 28
- Liked: 2 times
- Joined: Feb 26, 2015 7:19 pm
- Full Name: PenguinSSH
- Contact:
Re: v9 GFS Job Schedule Questions
Can we get a retry option when the job fails. Seriously, if a job fails in the middle of the night because it was stopped by backup jobs, we would need it to retry automatically. Otherwise, we're loosing 10-12 hours of tape transfer.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
Hi PenguinSSH,
It should be retried automatically if any source job is locked/failed (or running): it constantly checking the source jobs and if the required job is completed – start placing the files to tape. Moreover, it can keep retiring till the next scheduled GFS date (for the source disk jobs that overlap the tape GFS schedule).
It should be retried automatically if any source job is locked/failed (or running): it constantly checking the source jobs and if the required job is completed – start placing the files to tape. Moreover, it can keep retiring till the next scheduled GFS date (for the source disk jobs that overlap the tape GFS schedule).
-
- Enthusiast
- Posts: 28
- Liked: 2 times
- Joined: Feb 26, 2015 7:19 pm
- Full Name: PenguinSSH
- Contact:
Re: v9 GFS Job Schedule Questions
Hi Dima,
This has not been our experience so far with the GFS Tape jobs, if it fails because it is interrupted by a source backup job, it stays failed until we start it manually again.
This has not been our experience so far with the GFS Tape jobs, if it fails because it is interrupted by a source backup job, it stays failed until we start it manually again.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
Thanks for the heads up. We are going to check this behavior in our lab – stay tuned.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
PenguinSSH,
You were right. If the GFS tape job gets interrupted by source jobs (for example, because of the merging process) – GFS job is going to be cancel. Thanks for bringing this up – we will discuss with the team how this behavior can be corrected.
You were right. If the GFS tape job gets interrupted by source jobs (for example, because of the merging process) – GFS job is going to be cancel. Thanks for bringing this up – we will discuss with the team how this behavior can be corrected.
-
- Enthusiast
- Posts: 28
- Liked: 2 times
- Joined: Feb 26, 2015 7:19 pm
- Full Name: PenguinSSH
- Contact:
Re: v9 GFS Job Schedule Questions
Hi Dima
It seems to me that there are a couple of processes within Veeam that could benefit from this. If a process such as tape backup is running and depends on the backup files, the VBKs should not be altered until the dependency is completed. So a kind of queue in this process with priority should be helpful.
In other words, merging process and backup file check would have less priority over something like backup, tape backup or backup copy. Once those are finished, the lower priority process could be triggered.
In my opinion, with the different processes such as merging, backup guard, replication from backup files will make it harder for processes depending on VBKs to complete properly when those are lengthy or depend on the original VBKs.
Thanks for the reply and keeping us in the loop.
PenguinSSH
It seems to me that there are a couple of processes within Veeam that could benefit from this. If a process such as tape backup is running and depends on the backup files, the VBKs should not be altered until the dependency is completed. So a kind of queue in this process with priority should be helpful.
In other words, merging process and backup file check would have less priority over something like backup, tape backup or backup copy. Once those are finished, the lower priority process could be triggered.
In my opinion, with the different processes such as merging, backup guard, replication from backup files will make it harder for processes depending on VBKs to complete properly when those are lengthy or depend on the original VBKs.
Thanks for the reply and keeping us in the loop.
PenguinSSH
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
PenguinSSH, thanks for the feedback.
By default backup and replication jobs have higher priority than backup copy and backup to tape since first two take a snapshot and actually preserve VMs state, while second two "just" copy existing backups on disk or tape.
You may switch the source backup job to basic forward incremental with no merges to avoid the situation like you face now.
By default backup and replication jobs have higher priority than backup copy and backup to tape since first two take a snapshot and actually preserve VMs state, while second two "just" copy existing backups on disk or tape.
You may switch the source backup job to basic forward incremental with no merges to avoid the situation like you face now.
-
- Lurker
- Posts: 1
- Liked: 1 time
- Joined: Jan 14, 2015 4:03 pm
- Full Name: Fredrik Henne
- Contact:
Re: v9 GFS Job Schedule Questions
The case of interrupted tape jobs due to source backup jobs running merge is a problen for me too. The way I've solved it so far is to use the Job Scripts option and run powershell scripts for increasing/decreasing the source jobs retention policy by a few days. This puts the merge process on hold for a set number of days and at least makes it possible to have the tape job running over several days.
The scripts I use right now are simple dirty fixes for the problem in that they are are only increasing and decreasing by a fixed integer. A cleaner and better solution would be to read the retention policy that exists as of today in your jobs and then store those in clixml (Export-Clixml) for use in the decrease script. I'll leave the scripts below if anyone is interested.
A proper solution from Veeams side would be nice though for tape jobs and forever incremental. If possible it would be nice if the source backup jobs took into consideration any tape jobs running against the repository and skip or postpone any merge processes for later. Perhaps not the best solution for everyone but those us who's got space enough to hold 2-3 extra days of incrementals every week/month shouldn't have any problems with it. Seeing as it is the merge process that makes the jobs fail.
increaseRetainCycle.ps1
decreaseRetainCycle.ps1
The scripts I use right now are simple dirty fixes for the problem in that they are are only increasing and decreasing by a fixed integer. A cleaner and better solution would be to read the retention policy that exists as of today in your jobs and then store those in clixml (Export-Clixml) for use in the decrease script. I'll leave the scripts below if anyone is interested.
A proper solution from Veeams side would be nice though for tape jobs and forever incremental. If possible it would be nice if the source backup jobs took into consideration any tape jobs running against the repository and skip or postpone any merge processes for later. Perhaps not the best solution for everyone but those us who's got space enough to hold 2-3 extra days of incrementals every week/month shouldn't have any problems with it. Seeing as it is the merge process that makes the jobs fail.
increaseRetainCycle.ps1
Code: Select all
Add-PSSnapin veeampssnapin
$jobs = Get-VBRJob | ? {$_.IsBackupJob -eq $True}
$jobs | Foreach-Object {
$options = $_.GetOptions()
$options.BackupStorageOptions.RetainCycles += 4
$_.SetOptions($options)
}
Code: Select all
Add-PSSnapin veeampssnapin
$jobs = Get-VBRJob | ? {$_.IsBackupJob -eq $True}
$jobs | Foreach-Object {
$options = $_.GetOptions()
if($options.BackupStorageOptions.RetainCycles -gt 20) {
$options.BackupStorageOptions.RetainCycles -= 4
$_.SetOptions($options)
}
}
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
Fredrik,
Thank you very much for sharing. We definitely looking into the solution to let the tape jobs wait for the source disk job if it was interrupted by whatever reason.
Thank you very much for sharing. We definitely looking into the solution to let the tape jobs wait for the source disk job if it was interrupted by whatever reason.
-
- Veteran
- Posts: 600
- Liked: 66 times
- Joined: Jun 13, 2013 10:08 am
- Full Name: Paul Kelly
- Contact:
Re: v9 GFS Job Schedule Questions
I wonder if there's any scope for creating some kind of "Priority" flag, where we can choose (within reason) which jobs should have higher priority? Could also help with superceding GFS jobs if required (not sure if that side of things is working ok these days until I get onto v9)
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: v9 GFS Job Schedule Questions
Hi Paul,
Setting the source job priority is not currently possible but will be added in the upcoming releases.
Setting the source job priority is not currently possible but will be added in the upcoming releases.
-
- Veteran
- Posts: 600
- Liked: 66 times
- Joined: Jun 13, 2013 10:08 am
- Full Name: Paul Kelly
- Contact:
Re: v9 GFS Job Schedule Questions
Good to hear
-
- Service Provider
- Posts: 24
- Liked: 1 time
- Joined: Aug 28, 2013 10:44 am
- Full Name: Werner Steinegger
- Contact:
Re: v9 GFS Job Schedule Questions
Thanks for all the informations.
Best regards
Werner
Best regards
Werner
-
- Service Provider
- Posts: 453
- Liked: 30 times
- Joined: Dec 28, 2014 11:48 am
- Location: The Netherlands
- Contact:
[MERGED] GFS tape job scheduling
Hi,
is it possible to schedule a GFS tape job @ a specific time. Now, the job always starts @ 12:00AM, while we want to fire it up @ 14:00PM.
Thanks !
is it possible to schedule a GFS tape job @ a specific time. Now, the job always starts @ 12:00AM, while we want to fire it up @ 14:00PM.
Thanks !
Who is online
Users browsing this forum: No registered users and 17 guests