Start a Conversation

Unsolved

This post is more than 5 years old

4252

September 12th, 2013 11:00

Avamar Exclusions

I've been reading some of the posts in this forum about configuring exclusions on Windows File System but nothing has fit the scenario I have so I'm wondering if maybe someone can point me in the right direction.

I have a Windows server that has a folder structure D:\Program Files\ \var\lib\ \db as a base structure. Under the db folder there are other sub folders that change names (db_XXX and hot_db_XXX where XXX varies and increments as new folders are created). I need to exclude the hot_db_XXX folders from my backups. This structure is duplicated for multiple . I tried this exclusion "D:\Program Files\ \var\lib\*\db\hot*" (without the quotes) but this doesn't work.

Can anyone tell me how I can write this exclusion?

Thanks.

498 Posts

September 17th, 2013 12:00

d:\Program Files\ \var\lib\**\db\hot*

try the double ** - it is my understand it means anywhere it finds this

example I want to exclude all sql databases and log files

--exclude=**.ldb

--exclude=**.mdb

so if you use the ** it should be any folder under lib where it then finds a db dir with a file that starts with hot.

if you think there are no more files that start with hot you could try **\hot*  ( but I have not ever tried that)

94 Posts

September 23rd, 2013 12:00

Thanks for the suggestion. I'll give this a try and see what happens.

94 Posts

October 14th, 2013 12:00

I set this up and was able to exclude the folders I wanted. Thanks for the solution.

94 Posts

November 26th, 2013 07:00

Ok so I can exclude files using the above method. Now I've set up a dataset that I only want to include certain folders that all start with the same string and then have an incrementing number after (e.g. file0001, file0002,...). I tried the following but neither of these work:

D:/folder/file*

D:/folder/file**

How can I wildcard on a folder name?

Thanks.

498 Posts

November 26th, 2013 07:00

D:\**\file.*

this is suppose to be in any folder the file.*

careful as it will exclude all

D:\folder1\folder2\**\file.*

this would only work recursivly under folder2


as always test and verify it works as you expect.

94 Posts

November 26th, 2013 07:00

Not sure this will do what I want. This looks like you're looking for a file named file.*. Filexxxx isn't just a file it's an actual folder. All of the applicable folders I want to backup exist in D:/folder/. Basically I want to backup all folders with the name Filexxxx.

Thanks.

498 Posts

November 26th, 2013 08:00

the you can just use what you had orgianlly

D:\FolderA\Folder**

try that and see if it works.


Community Manager

 • 

6.2K Posts

November 26th, 2013 20:00

Hey,

Please refer to following thread. Hope this helps!

Split a File Server Backup

https://community.emc.com/thread/183877

No Events found!

Top