nsr_schedule(5)                                                 nsr_schedule(5)

NAME

       nsr_schedule - NetWorker resource type "NSR schedule"


SYNOPSIS

       type: NSR schedule


DESCRIPTION

       Each  NetWorker  schedule is described by a single resource of type NSR
       schedule (see nsr_resource(5)).  To edit the NSR schedule resources for
       a NetWorker server, type:
       
              nsradmin -c "type:NSR schedule"
       
       See nsradmin(8) for more information on using the NetWorker administra-
       tion program.

       This resource describes a sequence of levels controlling the amount  of
       data  saved by NetWorker clients (see nsr_client(5)).  There is one NSR
       schedule resource for each NetWorker schedule.


ATTRIBUTES

       The following attributes are defined for resource  type  NSR  schedule.
       The  information  in parentheses describes how the attribute values are
       accessed.  Read-only indicates that the value cannot be changed  by  an
       administrator.   Read/write means the value can be set as well as read.
       Several additional hidden attributes (e.g., administrator)  are  common
       to all resources, and are described in nsr_resource(5).

       name           (read/write)
              This  attribute  specifies the schedule's name.  The schedule is
              referred to by its name in client resources.
              Example: name: monthly_fulls;

       comment                       (read/write)
              This attribute is provided for the  administrator  to  keep  any
              explanatory  remarks  or  supplementary  information  about  the
              schedule.

       period              (read-only)
              This attribute specifies the length of  the  schedule's  period.
              It  may  be  either  "Week" or "Month".  "Week" schedules repeat
              every 7 days and start on Sunday.  "Month" schedules start  over
              at the first of each month.  The default is "Week."
              Example: period: Month;

       action              (read/write)
              This attribute specifies the sequence of save levels making up
              the schedule. One entry is used for each day of the schedule.
              The entries must be separated by whitespace, i.e., blanks or
              tabs. The valid levels are "full," "incr," "incr_synth_full,"
              "synth_full," "skip," and the numbers 1 through 9. The actions
              full, incr, and skip may be abbreviated "f," "i," and "s,"
              respectively.
              
              When the action attribute does not contain enough entries to
              account for every day in the period, NetWorker will repeat the
              list of actions when the end of the action list is reached.
              Example: action: f i i i i i i;
              
              There are 14 levels: full, levels 1 through 9, incr,
              incr_synth_full, synth_full, and skip. Full specifies that all
              files are to be saved. It is analogous to a level 0 dump in
              dump(8). Incr specifies incremental saves in which only those
              files that have been modified since the most recent save, at any
              level, are saved. This level has no exact analogue in dump(8)
              since the last save at any level, including previous incremental
              saves, are considered when determining what to save. Skip
              causes no files to be saved. Level incr_synth_full causes a
              non-full level backup to be performed by the client prior to
              creating a synthetic full backup. This non-full level is deter-
              mined by the integrity of the level backups after the last full.
              This new level backup ensures that the integrity of synthetic
              full is up to date so that subsequent incremental or level back-
              ups can be performed based on this new synthetic full backup.
              Level synth_full creates a synthetic full backup using previous
              full and subsequent level/incremental backups. Clients are not
              involved in the creation of a synthetic full. The resulting save
              set is equivalent to a full backup taken at the time of the lat-
              est incremental backup used in constructing the synthetic full.
              For example, if three save sets, ss1, ss2, and ss3 with save
              times & levels, t1 & full, t2 & incr and t3 & incr are used to
              create a new synthetic full save set ss4, this new save set will
              be equivalent to a full backup taken at time t3. See nsrconsol-
              idate(8) for more information on synthetic full and its
              integrity check. The levels 1 through 9 cause all files to be
              saved which have been modified since any lower level save was
              performed. As an example, if you did a full save on Monday,
              followed by a level 3 save on Tuesday, a subsequent level 3 save
              on Wednesday would contain all files modified or added since the
              Monday full save. By default, the save level is determined
              automatically from the NetWorker client's schedule (NSR sched-
              ule). By using the history of previous saves maintained by nsr-
              mmdbd(8) on the NetWorker server, the needed time for the given
              level can correctly be computed. By using media information on
              the server, times computed for saves that are based on previous
              save levels will automatically be adjusted as required when
              tapes are deleted.

       override	      (read/write)
              This attribute specifies a list of actions and dates  overriding
              the  actions  specified  in the action attribute.	 The format of
              the override specification is action date.  action must  be  one
              of  "full,"  "incr,"  "skip," or one of the numbers 1 through 9.
              date must be either a fixed date or recurring date.  Fixed  date
              is of the form "month/day/year."  Month and day are 2 digit num-
              bers, year may be either 2 or 4 digits. If the year is 2 digits,
              numbers in the range 70-99 are assumed to be offsets from  1900,
              those  in  the  range  00-69 are assumed to be offset from 2000.
              Recurring date is of the form '[ number ] weekday every [ number
              ] period'.  number can be a number (1, 2, 3, etc.) or an ordinal
              (first, second, third, etc.), and it is optional.  weekday  must
              be  one  of  "monday," "tuesday," "wednesday," "thursday," "fri-
              day," "saturday," "sunday." 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).  period must be  one  of  "week,"
              "month,"  "quarter," or "year."  Action/date pairs are separated
              by commas (',').
              Example: override:  full 1/1/1994, full  first  friday  every  2
              week;


EXAMPLE

       The  following  defines  a  NSR schedule resource named "Default."  The
       Default schedule may be modified, but it may not be deleted.  Each Net-
       Worker server must have a Default schedule.  This schedule has a period
       of one week, does a full save on  Sunday,  followed  by  6  incremental
       saves.  There are no override actions specified.

                    type:  NSR schedule;
                    name:  Default;
                  period:  Week;
                  action:  f i i i i i i;
               override:;

       The following defines a schedule named "quarterly."  It has a period of
       one month.  The action attribute specifies level 5, 9, and  incremental
       saves.   In  the  override  attribute, full saves are specified for the
       first day of each quarter.  Note that there are only 7 entries  in  the
       action  attribute.   Upon  reaching the end of the list, NetWorker will
       start over at the beginning of the list, performing a level 5 save.

            type:  NSR schedule;
            name:  quarterly;
          period:  Month;
          action:  5 incr incr incr 9 incr incr;
        override:  f 1/1/1994, f 3/1/1994, f 6/1/1994, f 9/1/1994, f 1/1/1995;


SEE ALSO

       nsr(8), nsrmmdbd(8), savefs(8), mminfo(8), nsradmin(8), nsr_client(5), 
       nsr_policy(5), nsr_resource(5).

NetWorker 8.0.1 		Dec 02, 12 		nsr_schedule(5)