A better, yet more "dangerous", way:
1) Create a scedual with the GUI, with all skips.
2) nsr_shutdown
3) make a copy of /nsr/res/ner.res
4) edit /nsr/res/ner.res
5) find the scedual you had made (search for the name)
6) in the "override:" field add "full first sunday every month"
7) save and restart networker
You should see the scedual in the GUI change to having
every 1st sunday override to a full backup off into the future.
This is from /nsr/res/nsr.res
action: "incr incr incr 3 incr incr incr ";
administrator: root AT junk.harvard DOT edu;
name: "f 1st 3rd wed, else 3 inc";
override: full first wednesday every month, full third wednesday every month;
period: Week;
type: NSR schedule;
resource identifier: 0.25.24.201.59.224.138.216.140.247.50.138(204)
Paul
On Thu, 19 Dec 2002, Tim Mooney wrote:
> Date: Thu, 19 Dec 2002 06:49:08 -0600
> From: Tim Mooney <mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU>
> Reply-To: Legato NetWorker discussion <NETWORKER AT LISTMAIL.TEMPLE DOT EDU>,
Tim Mooney <mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU>
> To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
> Subject: Re: [Networker] problem creating a monthly sechule
>
> In regard to: [Networker] problem creating a monthly sechule, Jim Lane
> said...:
>
> >I'm trying to create a schedule that takes a full backup on the 1st
> >Sunday of every month and skips every other day.
>
> Create a new schedule, something like "Full on 1st Sunday, skip all
> others". Use a period of month. Go through the first month, and set
> every day to "skip".
>
> Now select the first Sunday of that month, and select an "Override->full".
> Go to the next month, and all days should be defaulting to "skip". Again,
> select "Overrides->full*". Repeat for about 3 years. :-)
>
> If you're using a recent enough version of NetWorker, there might be an
> easier way to do this, but you don't list what version you're using, so
> I'm suggesting the way that has "worked" since time immemorial.
>
> Tim
> --
> Tim Mooney mooney AT dogbert.cc.ndsu.NoDak DOT
> edu
> Information Technology Services (701) 231-1076 (Voice)
> Room 242-J6, IACC Building (701) 231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164
>
> --
> Note: To sign off this list, send a "signoff networker" command via email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>
>
>
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|