cancel
Showing results for 
Search instead for 
Did you mean: 

UNSET, UNSET_ALL directives?

belse
Level 5

Hi All,

I was reading the Multistreaming configuration part and came accross with the below Unset and Unset_All Directives in Admin Guide which I didnot understand.

Could somebody pls make me understand in simple words what is this Unset and Unset_All, its work with an example? Admin Guide is sometimes too difficult to grasp the concept :(

 

UNSET, UNSET_ALL directives, and multiple data streams
All policy-specific directives that are passed to a client in a stream are passed in all subsequent streams. The UNSET and UNSET_ALL directives change this behavior. These directives are recognized only if the Allow multiple data streams option is set for the policy. For more information, see “Directives for specific policy types” on page 184.
UNSET
The UNSET directive interrupts 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 to be included in the current and the later streams.
UNSET_ALL
UNSET_ALL has the same effect as UNSET but unsets all policy-specific directives in the backup selections list that have been defined up to this point.
UNSET example
In the following 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
For the set command to be passed to the first two streams only, use UNSETor UNSET_ALL at the beginning of the third stream. At this location, it prevents SET from being passed to the last stream.
190 Policies
Rules to indicate paths in the backup selections list
NEW_STREAM
set destpath=/etc/home
/tmp
/use
NEW_STREAM
/export
NEW_STREAM
UNSET_ALL [or UNSET set destpath=/etc/home]
/var
Excluding files
1 ACCEPTED SOLUTION

Accepted Solutions

Andy_Welburn
Level 6

Added this note to the original discussion just as it was relocated:

https://www-secure.symantec.com/connect/forums/multiplexing-and-multistreaming-0#comment-9073821

 

 

The SET directive is a way of setting environment variables as directives in a backup selection list.

Personally we've never used them & my only ever exposure to them was for NDMP backups.

I doubt very much that you need to know about them ..... but I could be wrong.

 

The following T/N (essentially part of the NDMP Admin Guide) may help (or may confuse more) but UNSET/UNSETALL could easily be incorporated into the example it gives to UNSET specific or UNSETALL the variables that had been previously SET.

http://www.symantec.com/business/support/index?pag...

 

e.g. how I would envisage UNSET/UNSETALL in the example given by the T/N:

/vol/vol1
SET HIST = N
/vol/vol2
UNSETALL (or UNSET set hist = n)
SET DEF = 20
SET SAMPLE = all
/vol/vol3

View solution in original post

1 REPLY 1

Andy_Welburn
Level 6

Added this note to the original discussion just as it was relocated:

https://www-secure.symantec.com/connect/forums/multiplexing-and-multistreaming-0#comment-9073821

 

 

The SET directive is a way of setting environment variables as directives in a backup selection list.

Personally we've never used them & my only ever exposure to them was for NDMP backups.

I doubt very much that you need to know about them ..... but I could be wrong.

 

The following T/N (essentially part of the NDMP Admin Guide) may help (or may confuse more) but UNSET/UNSETALL could easily be incorporated into the example it gives to UNSET specific or UNSETALL the variables that had been previously SET.

http://www.symantec.com/business/support/index?pag...

 

e.g. how I would envisage UNSET/UNSETALL in the example given by the T/N:

/vol/vol1
SET HIST = N
/vol/vol2
UNSETALL (or UNSET set hist = n)
SET DEF = 20
SET SAMPLE = all
/vol/vol3