Highlighted
snowmizer1
2 Iron

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\<App Name>\var\lib\<index name>\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 <index names>. I tried this exclusion "D:\Program Files\<App Name>\var\lib\*\db\hot*" (without the quotes) but this doesn't work.

Can anyone tell me how I can write this exclusion?

Thanks.

0 Kudos
8 Replies
J_H_
3 Zinc

Re: Avamar Exclusions

d:\Program Files\<App Name>\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)

0 Kudos
snowmizer1
2 Iron

Re: Avamar Exclusions

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

0 Kudos
snowmizer1
2 Iron

Re: Avamar Exclusions

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

0 Kudos
snowmizer1
2 Iron

Re: Avamar Exclusions

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.

0 Kudos
J_H_
3 Zinc

Re: Avamar Exclusions

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.

0 Kudos
snowmizer1
2 Iron

Re: Avamar Exclusions

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.

0 Kudos
J_H_
3 Zinc

Re: Avamar Exclusions

the you can just use what you had orgianlly

D:\FolderA\Folder**

try that and see if it works.


0 Kudos
Moderator
Moderator

Re: Avamar Exclusions

Hey,

Please refer to following thread. Hope this helps!

Split a File Server Backup

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

0 Kudos