Avamar:如何使用Avtar.cmd文件跳过驱动器、文件夹和文件

Summary: 本文介绍如何使用avtar.cmd文件跳过 Avamar 中每个客户端的驱动器、文件夹或文件。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

要在 Avamar 文件系统备份期间跳过驱动器、文件夹或文件,请按照以下说明作。


1.使用文本编辑器(如记事本或记事本++)在 Windows 客户端上的 C:\Program files\avs\var 目录下创建avtar.cmd文件。重要提示:确认文件扩展名另存为avta.cmd文件,而不是avtar.cmd.txt文件,这将使其成为文本文件而不是命令文件。


2.要跳过整个驱动器或卷,请使用以下语法在avtar.cmd文件中添加条目:  

--exclude=D:\**

3.要跳过整个文件夹,请使用以下语法在avtar.cmd文件中添加一个条目:  

--exclude=C:\Users\**

4.要跳过名称包含空格的文件夹,请使用以下语法在avtar.cmd文件中添加一个条目:  

--exclude="C:\Program Files"

5.要跳过文件夹和所有子文件夹中具有特定扩展名的文件,请使用以下语法在avtar.cmd文件中添加条目: 

--exclude=C:\Windows\debug\**.log

6.要跳过文件夹中具有特定扩展名的文件而不跳过子文件夹,请使用以下语法在avtar.cmd文件中添加条目:  

--exclude= C:\Windows\Globalization\*.nlt

7.要跳过所有驱动器中的特定文件,请使用以下语法在avtar.cmd文件中添加条目: 

--exclude=*\filename

8.要添加任何内容作为注释,请在前面使用 #,如下所示:

# This drive is excluded as per ticket ABC1234

Affected Products

Avamar, Avamar Client for Windows
Article Properties
Article Number: 000156571
Article Type: How To
Last Modified: 29 Sept 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.