How to use wildcards in a NetBackup policy file list with multiple data streams enabled

How to use wildcards in a NetBackup policy file list with multiple data streams enabled

Article: 100038824
Last Published: 2020-04-22
Ratings: 3 1
Product(s): NetBackup

Description

Reasons to use multiple data streams (for details please refer to the NetBackup Administration Guide Volume 1):
  • To reduce backup time.
  • To reduce retry time for backup failures
  • To reduce administration by running more backups with fewer policies
Here are a few examples of wildcard use in policy file selection list(s) for UNIX and NDMP.

1. This selection will generate a backup stream of every file and folder under the directory,  /folder.​
/local/folder/[a-zA-Z]*

2. This selection will generate a backup stream of every file and folder that begins with an uppercase M under the directory, /folder.
/local/folder/M*

3. Use the NEW_STREAM directive to define data streams on large volumes.
This selection list will divide the /local/folder/ into three data streams.

NEW_STREAM
/local/folder/[a-fA-F]*
NEW_STREAM
/local/folder/[g-mG-M]*
NEW_STREAM
/local/folder/[n-zN-Z]*

4. Examples of NDMP wildcards:
a. This selection will generate a backup stream for each volume /vol/ndmp0 to /vol/ndmp9 (if present).
/vol/ndmp[0-9]
 
b. This selection will generate a backup stream for each volume /vol/ndmp0 to /vol/ndmp99 (if present).
/vol/ndmp[0-9][0-9]
 
c. This selection will generate a backup stream for each volume /vol/ndmp0 to /vol/ndmp999 (if present).
/vol/ndmp[0-9][0-9][0-9]

5. Examples of incorrect syntax resulting in Status Code 71.
UNIX:
local/folder/[a-d]*
/local/folder/[A-D]*
/local/folder/{m-nM-N}*
/local/folder/{m-nM-N}*/*
 
NDMP:
/vol/ndmp[1-110]

Please refer to the NetBackup Administration Guide Volume 1 for additional details about multiple data streams and the file selection list.
 

Was this content helpful?