Video Screencast Help

frequency

Created: 31 Jan 2013 • Updated: 06 Feb 2013 | 14 comments
This issue has been solved. See solution.

does frequency of backup also counts in manual initiated backups?

 

If i initiated a manual policy whose frequency is 7 days.It ran on monday.Now it will run on next monday.What if i run manually in between the week.What will happen?

Comments 14 CommentsJump to latest comment

Andy Welburn's picture

In my experience, a manual backup *does* affect when frequency backups occur..

In your example, if you ran your 7day frequency backup manually on a Wednesday it would not be due to run again until the following Wednesday.

For this reason, if we have a backup window on a schedule open on a Monday night *ONLY* we do not make the frequency 7 days. To allow for such situations, we would set the frequency to be only one day for example. In this case the backup would run on the Monday as normal & would be available to run again 1 day later, but as the window is only open on a Monday it will only run by schedule the following Monday. A manual backup on a Wednesday would result in the same - the backup would *still* only run when the window opened the following Monday.

 

See Mariannes article & David Chapa's in the following:

https://www-secure.symantec.com/connect/articles/n...

 

Arun K's picture

It depends on when backup starts or when backup ends?

Andy Welburn's picture

I sure that it is the start time that it looks at (& this *can* vary depending upon resource availability - hence the term 'schedule creeping' if resources are not available as soon as a window opens), but if your frequency & windows are set correctly then your backups should start as soon as the window opens.

 

 

Arun K's picture

 

Sunday Monday Tuesday Wednesday Thursday Friday Saturday

 

  I-1         I-1        I-1           I-1            I-1           I-1        I-1
 
                 F-5      F-5          F-5
 
                F-26   F-26        F-26

If the backup schedule starts on Sunday, naturally the incremental (1-day) will run, but

on Monday there are three schedules, NetBackup looks at the available schedule

options and deducts based on “last seen” which one it will select. Based on all three it

“basically” says, I’ve seen I-1 yesterday, but haven’t seen F-5 ever, but then there is this

F-26 which I also haven’t seen so I will run this because it has the greater frequency.

Next week it will go through the same process, but this time it will look at I-1 and say

“saw it yesterday, F-5 haven’t seen this for 7 days and it is a 5 day frequency, F-26 saw

this 7 days ago and is a 26 day frequency, so I will select F-5.”

 

 

  1. If both have same priority,then what will run?F 26 and F 5 have same frequency of 10.Then who will run?
  2. In the example mentioned above by the author.What will run on wed?
Marianne's picture

Manual backup WILL affect Frequency.

Please read through this article: https://www-secure.symantec.com/connect/articles/netbackup-frequency-based-scheduling

FIRST test that Frequency Based scheduling does:
Has enough time elapsed for this schedule since last successful backup? (Manual or automatic)

 

PS: I am sure I have referred you to this article previously??

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Mark_Solutions's picture

I think it has all been covered pretty well above - in answer to your one question the frequency is based on the start time of the last backup (provided that it was successful), not the end.

And yes - NetBackup does use built in logic to run the least frequent backups first - provided that their start times are identical - so it is not good enough to all be on the same day - if you had three schedule, one with a window set to open at 7pm, one at 7.10 and one at 7.20 then all three could run.

Obviously after that they will not run again until their frequency since the start of the lack successful backup is available

NetBackup since V6 actually reads the policy and schedule list and sets times for the next jobs - so is more efficient than earlier versions

That is why it is useful to run nbpemreq -updatepolices if you make changes to ensure all times are reset.

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Arun K's picture

i just wanna know if both schedule have same frequency then what will hapen?

Mark_Solutions's picture

Then you sack your NetBackup Admin I guess - what would be the point of having two schedules in the same policy with the same frequency and the same start window!

I guess the actual answer in NetBackup terms is that it would run the one that hasn't run the most recently - but this really shouldn't happen or be the case in a properly setup environment, it would have to be tested but it may even run both of them (though i doubt that)

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Arun K's picture

In the example mentioned above by the author.What will run on wed?

Andy Welburn's picture

Can't be bothered to re-read everything (sorry) but all things being equal (frequency, schedule, retention etc etc whatever) I'm sure I read in one of the documents above that in such a case NB would look at it alphabetically......

SOLUTION
rizwan84tx's picture

Verily this discussion reminds me about Nikhil wink!

 

Cheers!!!

Best Regards,

Rizwan

Marianne's picture

As well as:

andy2345
mikenew
ramluke 
nikenew
belse

surprise

 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links