Howto: Exclude files and directories from NDMP backups

Article:TECH10195  |  Created: 2001-01-16  |  Updated: 2011-07-26  |  Article URL http://www.symantec.com/docs/TECH10195
Article Type
Technical Solution


Environment

Problem



Howto: Exclude files and directories from a NetApp NDMP backup


Solution



To exclude files on NetApp when using NetBackup with Network Data Management Protocol (NDMP), insert an entry in the file list that sets the EXCLUDE NDMP environmental variable on the line before the volume inclusion.

For example:  To exclude a directory named /vol/vol1/A, but to dump the rest of the volume, create a NetBackup class file list which would look like this:
SET EXCLUDE = A
/vol/vol1

To exclude multiple files or directories use commas to delimit the field:
SET EXCLUDE = A,B,C
/vol/vol1

The rules are stated as being the same as they are for native dump commands.
•The exact name of the file or directory must be used.
•An asterisk (*) is a wildcard character. The asterisk must be either the first or the last character of the string. Each string can have up to two asterisks.
•A comma in a file or directory name must be preceded with a backslash.
•The exclude list can contain up to 32 names.
The exclude list is specified relative to the dump path. If a directory name or file name contains a space, enclose the string in single quotes:
SET EXCLUDE = 'file with space in name'
/vol/volx

Refer to the Ontap manuals for DUMP for more information.

 

 



Legacy ID



235246


Article URL http://www.symantec.com/docs/TECH10195


Terms of use for this information are found in Legal Notices