Skip to main content
NetApp Knowledge Base

How does the NDMP EXCLUDE variable work?

Views:
882
Visibility:
Public
Votes:
2
Category:
ndmp
Specialty:
DP
Last Updated:

Applies to

 

NDMP

Answer

Environment variables are used to communicate information about a backup or restore operation between an NDMP-enabled backup application and a storage system.

The EXCLUDE variable specifies files or directories that are excluded when backing up data.

The exclude list is an argument to the EXCLUDE variable.

It is a comma-separated list of file or directory names. If the name of a file or directory matches one of the names in the list, it is excluded from the backup.

The following rules apply while specifying names in the exclude list:

  • The exact name of the file or directory must be used.
  • Specifying a full path is disallowed.
  • The asterisk (*), a wildcard character, 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.

Note: Files or directories specified to be excluded for backup are not excluded if you set variable NON_QUOTA_TREE to Y simultaneously.

 

Additional Information

Additional information is available in the Ontap 9 documentation center under 'Environment variables supported by ONTAP'

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.