NSR_DIRECTIVE(5) Legato NetWorker 4.0 NSR_DIRECTIVE(5)
NAME
NSR directive - NetWorker resource type ``NSR directive''
SYNOPSIS
type: NSR directive
DESCRIPTION
Each NSR directive is described by a single resource of type NSR
directive (see nsrresource(5)). To edit the NSR directive resources
for a NetWorker server type:
nsradmin -c "type:NSR directive"
See the nsradmin(8) manual page for more information on using the
NetWorker administration program.
These resources are used by the NetWorker asm family of commands when
processing files, see uasm(8) and nsr(5). Directives can be used to
improve the efficiency of backups by controlling which files get
saved and specifying special handling on certain types of files.
ATTRIBUTES
The following attributes are defined for resource type NSR directive.
The information in parentheses describes how the attribute values are
accessed. Create-only indicates that the value cannot be changed
after the resource has been created. Read/write means the value can
be updated by authorized administrators. 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) or expert mode (-x) in networker(8). Dynamic attributes
have values which change rapidly. Several additional attributes
(e.g. administrator) are common to all resources, and are described
in nsrresource(5).
name (create-only)
The names of directive resources are displayed as choices when
creating or updating NetWorker client resources, see
nsrclient(5). The name can generally be chosen at the admin
istrator's convenience, but it must be unique for this Net
Worker server. The directive resource named `Default' may be
modified, but it may not be deleted. Other directives can only
be deleted if no clients are using them.
Example: name: Default;
directive (read/write)
This attribute contains the rules defining the directive. The
value of this attribute is similar to the contents of a .nsr
file except that absolute path names must be specified for
each << path >> directive. See nsr(5) for more information on
the format of NetWorker directives.
Example: directive: "<< / >> skip : core";
EXAMPLE
A complete NSR directive resource, named `Default', follows:
type: NSR directive;
name: Default;
Licensed material--property of copyright holder(s) 1
NSR_DIRECTIVE(5) Legato NetWorker 4.0 NSR_DIRECTIVE(5)
directive: "
<< / >>
+skip : core
skip : tmp
<< /export/swap >>
swapasm : *
<< /usr/spool/mail >>
mailasm : *
<< /nsr >>
allow
";
SEE ALSO
nsr(5), nsrresource(5), savegroup(8), savefs(8), uasm(8), nsrad
min(8).
Licensed material--property of copyright holder(s) 2