Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Directive specification with ASMs and save environment keywords

A directive specification specifies the action to perform in a directive statement.

Save environment keywords

Save environment keywords control how the current ASM and subsequent ASMs applied to the directory and subdirectories are applied in the directive statement.

NetWorker supports the following save_environment_keyword values:
  • forget—Instructs the NetWorker Server to no longer apply inherited directives (those directives that begin with a +). The forget keyword works only if the corresponding directories are also explicitly specified in the NetWorker Client resource Save Set attribute.
  • ignore—Instructs the NetWorker Server to ignore all directives that are applied to the subdirectories below the current directory.
  • allow—Used in subdirectories that currently have the ignore keyword applied to them, and overrides the ignore.

The UNIX man page and the NetWorker Command Reference Guide provides detailed information about directives in the nsr and nsr_directive commands.

Review the following examples of directive specifications that include ASMs and save environment keywords.

Using the skip directive for a Windows host

The following example directive statement skips the C:\Program Files folder on a Windows host during a backup:

<< "C:\Program Files" >>
skip

Using the skip directive for a UNIX host

The following example directive statement skips all files in the /tmp directory on a UNIX host, including hidden files:

<< /tmp >>
+skip: * .?*

NOTE:A space appears after the first asterisk (*) in the pattern.

Using the skip ASM and forget save environment keyword

The following example directive statement skips all *.o files in the G:\SRC directory except those *.o files in the G:\SRC\SYS directory:

<< "G:\SRC" >>
+skip: *.o
<< "G:\SRC\SYS" >>
forget

This example uses the skip ASM to instruct the NetWorker server to skip all files that are named *.o in the SRC directory and all subdirectories. It then uses the forget keyword to instruct the server to not apply the skip ASM to the SYS subdirectory.

Both the G:\SRC and the G:\SRC\SYS directories must be explicitly specified on separate lines in the client resource Save Set attribute.

Using the ignore save environment keyword

The following example allows directives in the HOMEDOC directory to be applied to the preceding example for the ignore keyword:

<< HOME >>
ignore
<< HOMEDOC >>
allow

Using the allow save environment keyword

The following example directive statement overrides any local directives set in user home directories:

<< HOME >>
ignore


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\