Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

DOCUMENTATION: Additional examples for setting up exclude_list files on NetBackup clients Page 1 of 4

Document ID: 265896


http://support.veritas.com/docs/265896
E-Mail this document to a colleague

DOCUMENTATION: Additional examples for setting up exclude_list files on


NetBackup clients

Details:
Manual:
NetBackup DataCenter 4.5 System Administrator's Guide for UNIX
NetBackup (tm) 5.0 System Administrator's Guide, Volume I for UNIX
NetBackup (tm) 5.1 System Administrators Guide for UNIX, Volume I
NetBackup (tm) 6.0 System Administrator's Guide for UNIX, Volume 1

Modification Type: Supplement

Modification:
An exclude_list file can be created for a specific client, policy or schedule. The
exclude_list file must be created by the administrator in the /usr/openv/netbackup
directory on UNIX clients.

The following options exist when creating an exclude_list file:


- Create an exclude_list file if the exclude list will apply to all backups of the client.
- Create an exclude_list.<policy> if the exclude list will apply only for a specific policy.
- Create an exclude_list.<policy>.<schedule> if the exclude list will apply to only one
schedule in a policy.
NetBackup will use only read the exclude_list file that most closely matches the backup
policy and schedule being performed. The <policy> and <schedule> used in the file name
must be an exact match to the policy and schedule defined on the master server.

The following examples are meant to show different methods to format an exclude_list on
a NetBackup client.

How to properly exclude a file name by the extension:


The following is a valid way to handle file names by extension:
*.log
*_log
This will properly exclude all files and directory names that end in .log or _log. The
asterisk character is needed to do the wildcard expansion.

The incorrect way to exclude by extension is to use:


.log
_log
This will only match specific file or directory names for .log or _log. Without the asterisk

file://H:\study\netbackup\Upload_site_done\done\New Folder\Setting up exclude_list files on NetBackup cli... 7/6/2010


DOCUMENTATION: Additional examples for setting up exclude_list files on NetBackup clients Page 2 of 4

character, there is no wildcard expansion done to match files ending in these entries.

How to properly exclude a filename that contains a specific string:


The following is a valid way to handle filenames that contain a specific string:
*.log.*
*_log_*
This will match any file or directory name that contains .log. or _log_. The period or
underscore has no specific meaning in this example. The asterisk does the wildcard
expansion.

How to properly exclude a specific filename or directory:


The following is a valid way to handle specific file or directory names.
log
logs
This will match any file or directory names called log or logs. In this case, no asterisk is
needed since there isn't any matching to be done.

How to use the ? character in an exclude_list entry:


A valid way to use the ? character in an exclude_list entry would be:
log.??????
This would exclude any file that begins with log. and follows with six characters. This
would match log.021804 but not match log. since log. must be followed by six characters.
The ? is used as a wildcard for any single character in a file or directory name. Each
question mark is used to match a single character.

How to use the [] characters in an exclude_list entry:


A valid way to use the [] characters in an exclude_list entry would be:
log[12345]
This would exclude the files log1, log2, log3, log4, log5 but would not match log or
log12345. The characters inside the [] are used to match any single character that is
contained between the [].

How to exclude a file or directory that contains a special character:


A valid way to exclude files that contain special characters in the name would be:
\*logfile\*
This would match the file named *logfile* but would not match logfile or any filename that
contains logfile. The backslash character will de-reference any of the special characters
used in a NetBackup exclude_list.

These special characters are:


asterisk *
comment #
square brackets [ ]
backslash \
question mark ?

file://H:\study\netbackup\Upload_site_done\done\New Folder\Setting up exclude_list files on NetBackup cli... 7/6/2010


DOCUMENTATION: Additional examples for setting up exclude_list files on NetBackup clients Page 3 of 4

Related Documents:

246847: NetBackup DataCenter 4.5 System Administrator's Guide for UNIX


http://support.veritas.com/docs/246847

264250: VERITAS NetBackup (tm) 5.0 System Administrator's Guide, Volume I for UNIX
http://support.veritas.com/docs/264250

268090: VERITAS NetBackup (tm) 5.1 System Administrators Guide for UNIX, Volume I
http://support.veritas.com/docs/268090

270181: Do Exclude list and Include list entries apply to network drives as well as local
drives?
http://support.veritas.com/docs/270181

279263: VERITAS NetBackup (tm) 6.0 System Administrator's Guide for UNIX, Volume 1:
Provides information on performing most common configuration and administration tasks
with NetBackup 6.5 including: - Managing media, storage units, unit groups, catalogs and
lifecycle policies - Firewall Configuration - Firewall ports used for communication
http://support.veritas.com/docs/279263

Products Applied:
NetBackup BusinesServer 4.5
NetBackup DataCenter 4.5
NetBackup Enterprise Server 5.0, 5.1, 6.0
NetBackup Server 5.0, 5.1, 6.0

Last Updated: August 01 2008 03:21 PM


GMT
Expires on: 08-01-2009
Subscribe to receive critical updates
about this document

file://H:\study\netbackup\Upload_site_done\done\New Folder\Setting up exclude_list files on NetBackup cli... 7/6/2010


DOCUMENTATION: Additional examples for setting up exclude_list files on NetBackup clients Page 4 of 4

Application: Configuration

Languages:
English (US)

Operating Systems:
AIX
5.1, 5.2, 5.3

HP-UX
11.0, 11.11

Solaris
10, 7.0, 8.0, 9.0

Symantec World Headquarters:


20330 Stevens Creek Blvd. Cupertino, CA 95014
World Wide Web: http://www.symantec.com/,
Tech Support Web: http://entsupport.symantec.com/,
E-Mail Support:
http://seer.entsupport.symantec.com/email_forms,
FTP: ftp://ftp.entsupport.symantec.com/ or
ftp://ftp.entsupport.symantec.com/

THE INFORMATION PROVIDED IN THE SYMANTEC SOFTWARE KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY
OF ANY KIND. SYMANTEC SOFTWARE DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SYMANTEC
SOFTWARE OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,EVEN IF SYMANTEC SOFTWARE OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR
LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT
APPLY.

file://H:\study\netbackup\Upload_site_done\done\New Folder\Setting up exclude_list files on NetBackup cli... 7/6/2010

You might also like