Unsolved
This post is more than 5 years old
9 Posts
0
9453
February 29th, 2012 09:00
Networker schedule override - "last day"
Hello,
Using Networker 7.6.3, I'm trying to create a schedule with override "full last day every month" (skip every other days) but I have a very strange behavior :
02.29.2012 : full
03.29.2012 : full !!!
03.31.2012 : skip !!!
04.30.2012 : full
05.30.2012 : full !!!
05.31.2012 : skip !!!
06.30.2012 : full
07.30.2012 : full !!!
07.31.2012 : skip !!!
08.31.2012 : full
09.30.2012 : full
10.30.2012 : full !!!
10.31.2012 : skip !!!
11.30.2012 : full
12.30.2012 : full !!!
12.31.2012 : skip !!!
So wtih this override calendar calculation is wrong.
What is the right override to do this correctly ?
Note : I tried to override with (full 01.31, full 02.28, full 03.31, full 04.30, ...) but of course, february is a problem when there is 29 days like in 2012. So this solution is not a good recuring one
Thanks,
Thierry


adanac1
19 Posts
0
February 29th, 2012 10:00
Here is what I normally do:
Go into the “Schedules” under “Configuration” and select but do not open your schedule. Right click on it and ensure the checkbox is turned off for Show Schedule as calendar.
Then open your schedule and put five weeks worth of skips under action. Put in the override for when you want the full to happen.
Here is an example of the full every third Sunday.
2 Attachments
image001.png
image002.png
adanac1
19 Posts
0
February 29th, 2012 10:00
OK here is what I would do.
Go into the “Schedules” under “Configuration” and select but do not open your schedule. Right click on it and ensure the checkbox is turned off for Show Schedule as calendar.
Once the checkbox is removed open your schedule and do like I am showing you below.
Action field: 5 full weeks of skip
Override field: full last day every month
Once done click on OK and Voila! you are good to go.
You can now put your checkbox back on if you want to check your schedule as a calendar.
tmaingot
9 Posts
0
March 1st, 2012 00:00
Thanks for this information but I already did it, exactly the same ... but, according to this calendar (switched back to calendar view), the next full backup will happens on march, 29th not the 31th
as an explained it in my initial post.
I hope to find an explanation to this problem to correct it definitively.
bmeignant3
4 Posts
0
March 1st, 2012 01:00
Hello,
I’ve got the same behavior with a period of month, create a new calendar with a week period, skip on 7 days and your override “full last day every month” should be ok.
Bruno Meignant
De : Thierry Maingot
Envoyé : mercredi 29 février 2012 18:07
À : bmeignant
Objet : New message: "Networker schedule override - "last day""
EMC Community Network
Networker schedule override - "last day"
créé par Thierry Maingot dans NetWorker Online - Afficher l'intégralité du fil de discussion
tmaingot
9 Posts
0
March 1st, 2012 04:00
I tested it and it still doesn't work. Whatever I do, last day of march is on the 29th, last day of may is the 30th etc.
adanac1
19 Posts
0
March 1st, 2012 05:00
Post both snapshot views of your calendar so we can have a look.
Merci
bmeignant3
4 Posts
0
March 2nd, 2012 01:00
Hello,
In fact you’re right, I apologize for that.
According to the command reference documentation, the use of "last" for number is not supported (for example, "last friday" cannot be used to refer to the last Friday of the month).
I’m afraid that the only solution is to specify the level for each month, the only problem is for February every four year…
f 01/30
f 02/28
f 03/31
f 04/30
f 05/31
f 06/30
f 07/31
…
De : Thierry Maingot
Envoyé : jeudi 1 mars 2012 09:42
À : bmeignant
Objet : New message: "Networker schedule override - "last day""
EMC Community Network
Re: Networker schedule override - "last day"
créé par Thierry Maingot dans NetWorker Online - Afficher l'intégralité du fil de discussion
DavidHampson-rY
1 Rookie
•
294 Posts
0
April 27th, 2012 03:00
Use of last is undocumented and I can't remember off the top of my head how it works! However, I think the way you had applied it was meant to be correct. You may be able to get it to work like this:
Add your month of skips in the action field as before
In the override field type:
Full last Saturday every month
Full last Friday every month
....
Full last Sunday every month
I believe I am right in saying the override field works on the first line it matches up so if it fails to match up one override it will check the next and so on until it reaches the last one and uses the configured level.
However I would expect the original override to work. It seems evident that the last day of the month is being calculated incorrectly. I can't see any pattern to the assignment of last day in your original directive which makes it the more confusing!
tmcat15
1 Message
0
April 10th, 2017 23:00
A bit clunky, but I believe that this works and is supported. Set the override to the following:
full 01/31
full 02/28
full 2/29/2016
skip 2/28/2016
full 2/29/2020
skip 2/28/2020
full 2/29/2024
skip 2/28/2024
skip 2/28/2028
full 2/29/2028
skip 2/28/2032
full 2/29/2032
full 03/31
full 04/30
full 05/31
full 06/30
full 07/31
full 08/31
full 09/30
full 10/31
full 11/30
full 12/31
... and add a note to review it sometime in the 2030s!