跳转到主内容

NDMP 排除变量的工作原理是什么?

Views:
16
Visibility:
Public
Votes:
0
Category:
ndmp
Specialty:
dp
Last Updated:

适用于

 

NDMP

解答

环境变量用于在启用 NDMP 的备份应用程序与存储系统之间传达有关备份或还原操作的信息。

exclude 变量用于指定在备份数据时排除的文件或目录。

exclude 列表是 exclude 变量的一个参数。

它是一个以逗号分隔的文件或目录名称列表。如果某个文件或目录的名称与该列表中的一个名称相匹配,则会将其从备份中排除。

指定排除列表中的名称时,以下规则适用:

  • 必须使用文件或目录的确切名称。
  • 不允许指定完整路径。
  • 星号 (*) 或通配符必须是字符串的第一个或最后一个字符。
  • 每个字符串最多可以包含两个星号。
  • 文件或目录名称中的逗号前面必须是反斜杠。
  • 排除文件最多可包含 32 个名称。

注意:如果同时将变量 non_quota_tree 设置为 Y ,则不会排除指定用于备份的文件或目录。

 

其他信息

有关其他信息,请参见 ONTAP 9 文档中心 在 " 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.