How to exclude files and directories from NDMP backups on Isilon filer

Article: 100049929
Last Published: 2022-04-04
Ratings: 2 1
Product(s): NetBackup

Description

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

Example:

The Fully Qualified path to be backed up is /folder1/subfolder1/subfolder2/subfolder3. To exclude a directory named DIRECTORYONE within /folder1/subfolder1/subfolder2/subfolder3, but to backup the rest of the volume, create a Backup Selection which would look like this:

SET EXCLUDE=DIRECTORYONE
/folder1/subfolder1/subfolder2/subfolder3

To exclude multiple files or directories, separate the directories to be excluded with a single space ( ), not a comma.

Example:

We are excluding three folders: DIRECTORYONE, DIRECTORYTWO, and DIRECTORYTHREE which are all underneath the parent directory /folder1/subfolder1/subfolder2/subfolder3 

SET EXCLUDE=DIRECTORYONE DIRECTORYTWO DIRECTORYTHREE
/folder1/subfolder1/subfolder2/subfolder3

To exclude directories with spaces in their names, escape the space with a backslash (\).

Example:

To exclude a directory named DIRECTORY FOUR:

SET EXCLUDE=DIRECTORY\ FOUR
/folder1/subfolder1/subfolder2/subfolder3

To exclude multiple directories, including those with spaces:

SET EXCLUDE=DIRECTORYONE DIRECTORYTWO DIRECTORY\ FOUR
/folder1/subfolder1/subfolder2/subfolder3

Notes:

  1. Ensure the SET EXCLUDE variable is specified within the Backup Selection before the volume to be backed up as shown in the examples above or the exclude will appear to be shown within the Detailed Status, but will be ignored during the actual backup. 
  2. This above syntax was used with EMC Isilon F800 running OneFS 8.1.2.
  3. For details on various wild characters that can be used to set exclusions refer Isilon Administration Guide

 

Was this content helpful?