Previous  |  Next >  
Product: NetBackup System Administrator's Help  

UNSET and UNSET_ALL Directive

All policy-specific directives that are passed to a client in a stream are passed in all subsequent streams. See Directives for Specific Policy Types. The UNSET and UNSET_ALL directives change this behavior. These directives are recognized only if Allow Multiple Data Streams is set for the policy.


UNSET

Unsets a policy-specific directive so it is not passed with any additional streams. The directive that was unset can be defined again later in the backup selections list and included in the current and later streams.


UNSET_ALL

UNSET_ALL has the same effect as UNSET but unsets all policy-specific directives that have been defined up to this point in the backup selections list.


Example

Assume you have a backup selections list as shown below. In this backup selections list, the set command is a client-specific directive that is passed to the first and all subsequent streams.


   NEW_STREAM
   set destpath=/etc/home
   /tmp
   /use
   NEW_STREAM
   /export
   NEW_STREAM
   /var

If you want the set command passed to the first two streams but not the last, an UNSET or UNSET_ALL can be used at the beginning of the third stream to prevent it from being passed to the last stream.


   NEW_STREAM
   set destpath=/etc/home
   /tmp
   /use
   NEW_STREAM
   /export
   NEW_STREAM
   UNSET_ALL [or UNSET set destpath=/etc/home]
   /var
 ^ Return to Top Previous  |  Next >  
Product: NetBackup System Administrator's Help  
VERITAS Software Corporation
www.veritas.com