Unsolved
This post is more than 5 years old
2K Posts
0
1282
Full last day of month
I want to set a schedule for full backups on the last day every month. If I use the override" full last day every month" with skip for each day, it sets 30th of themonth as full even if the month has 31 days.
Please suggest an alternative.
Please suggest an alternative.
amediratta
2K Posts
0
October 21st, 2008 07:00
dpinink_silva
724 Posts
0
October 21st, 2008 07:00
ble1
2 Intern
2 Intern
•
14.3K Posts
0
October 21st, 2008 12:00
day every month. If I use the override" full last day
every month" with skip for each day, it sets 30th of
themonth as full even if the month has 31 days.
To me that sounds as bug - I would opened up this with support.
Hari5
443 Posts
0
October 21st, 2008 20:00
satishs
50 Posts
0
December 23rd, 2008 11:00
# nsradmin
nsradmin>create name:Full Last Day Of Month;type:NSR schedule;period: Month
type: NSR schedule;
name: Full Last Day Of Month;
period: Month;
Create? y
created resource id 0.112.115.123.0.0.0.0.0.0.0.0.73.79.215.25.172.17.100.95(1)
nsradmin>update action: s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s ;
(((( Comment: the number of "s" should be 31. )))))
update override:full last day every month
override: full last day every month;
Update? y
updated resource id 0.112.115.123.0.0.0.0.0.0.0.0.73.79.215.25.172.17.100.95(5)
nsradmin> quit
#
------------
Now see the schedule in NMC. It shows correctly
Hari5
443 Posts
0
December 23rd, 2008 15:00
OscarG1
2 Intern
2 Intern
•
137 Posts
0
November 6th, 2009 08:00
nsradmin>update action: s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s ;
it doenst give me back an answer, should I type something else at the end of s s; ???
HCLBACKUP
2 Intern
2 Intern
•
150 Posts
0
November 9th, 2009 08:00
Create schedule with everything in skip and then add following override:
full 01/31
full 02/28
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
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
December 26th, 2014 00:00
This perfectly works including the leap year but it is only until 2036, hope that is good enough for now. If not, just add two lines for another 4 years.
Create a schedule with all skip and copy the following and paste it under overwrite section.
skip 2/28/2016
full 2/29/2016
skip 2/28/2020
full 2/29/2020
skip 2/28/2024
full 2/29/2024
skip 2/28/2028
full 2/29/2028
skip 2/28/2032
full 2/29/2032
skip 2/28/2036
full 2/29/2036
full 01/31
full 02/28
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