Content-type: text/html
These resources control when a group of NetWorker clients begin saving data and whether backups are started automatically each day. Each NSR client resource (see nsr_client(5)) lists the groups of which that client (or save sets for that client) is a member. Groups can only be deleted if no clients are members of them.
The following attributes are defined for resource type NSR group. The information in parentheses describes how the attribute values are accessed. Create-only indicates that the value cannot be changed by an administrator once the resource is created. Read/write means the value can be set as well as read at any time. Choice indicates that the value can only be selected from a given list. Yes/no means only a yes or no choice is possible. Static attributes change values rarely, if ever. Dynamic attributes have values which change rapidly. Hidden means it is an attribute of interest only to programs or experts, and these attributes can only be seen when the hidden option is turned on in nsradmin(8). For example, an attribute marked (create-only, static) has a value which is set when the attribute is created and never changes. Several additional attributes (for example, administrator) are common to all resources, and are described in nsr_resource(5).
The following example shows how to use this attribute in conjunction with "interval". Assume that a group g1 has to be backed up every 6 hours and the first backup must be a level backup. For g1, set the interval to 06:00, set autostart to "enabled" and set force incremental to `Yes.' Also set the level to the desired level. In this case the first scheduled run of group g1 (before 6:00am) will be run at the level configured. Subsequent scheduled runs of group g1 on the same day (after 6:00am) will be run at incremental level.
type:NSR group; name:Default; autostart:Enabled; start time:"3:33"; administrator:root;
A complete example follows, with the hidden attributes shown with values reasonable for an active group:
type:NSR group; name:Default; autostart:Enabled; start time:"3:33"; options:Restartable; printer:lp2; inactivity timeout:30; work list:mars, incr, /g, mars, incr, index, venus, incr, /usr, venus, incr, index, jupiter, full, /, jupiter, full, /usr, jupiter, full, index completion:mars, /, succeeded, "mars: / level=incr, 31 KB 00:01:01 72 files ", mars, /usr, succeeded, "mars: /usr level=incr, 2 KB 00:00:48 5 files ", venus, /, succeeded, "venus: / level=incr, 7711 KB 00:04:37 29 files "; administrator:root, &operator;