50 Posts

January 30th, 2011 20:00

I use a lot of includes and exclude, but I must state that I have no experience in backing up AIX oracle with Avamar.

I have only been using Avamar to back up Windows File systems, MS SQL, MS Exchange, MS Sharepoint.

*.[extension] works for me, but be weary where you start creating your exclusions.

exampe:

I have a windows system with a C and D drive. There is a "group" folder and a "home" folder under the root of D.

D:\Group\

D:\Home\

If I wanted to exclude DAT files from the "Group" Folder backup, I would do the following:

Source Data = D:\Group\

Inclusions = D:\Group\

Exclusions = *.DAT

BUT if I wanted to backup just the DAT files from "Group" folder, I would do the following:

Source Data = D:\Group\

Inclusions = *.DAT

Exclusions = D:\Group\

I came about this by trial and error and time spent when I had set up my backup data sets.

Hope this helps.

1 Rookie

 • 

12 Posts

May 19th, 2011 12:00

If I do the following (as a last ditch effort):

OS: Windows 2003

Avamar: 5.x

Source: F:/

Exclude: F:/

Include: *.bak

Avamar still picks up *.safe files.

Hints? Clues?

CDKotran

5 Posts

June 18th, 2014 12:00

Yes I agree the documentation is very poor at best in this area. 

5 Posts

June 19th, 2014 06:00

I don't want excludes to be done on the client, one loses control that

way.

How does one exclude any drive? is it *:\ or **\ or what?

355 Posts

June 19th, 2014 06:00

Hello,

You can also use avtar.cmd file. I hope this will be useful for you -

To skip Drive/Folder/Files on windows system –

  1. Create avtar.cmd file under C:\Program files\avs\var location on client.
  2. To skip a whole drive, add following entry in avtar.cmd file –
    • --exclude=D:\**
  3. To skip a whole folder, add following entry in avtar.cmd file –
    • --exclude=C:\Users\**
  4. To skip a folder which name contains space, add following entry in avtar.cmd file –
    • --exclude=”C:\Program Files”
  5. To skip a file with specific extension within a folder and all subfolders, add  following entry in avtar.cmd file –
    • --exclude=C:\Windows\debug\**.log
  6. To skip a file with specific extension within a folder without skipping in subfolders, add following entry in avtar.cmd file –
    • --exclude= C:\Windows\Globalization\*.nlt
  7. To skip a specific file within all drives, add following entry in avtar.cmd file –
    • --exclude=*\filename
  8. To add anything as a comment, use following syntax –
    • # This drive is excluded as per ticket ABC1234

Regards,

Pawan

5 Posts

June 19th, 2014 07:00

That doesn't show me how to use wild cards ...

355 Posts

June 19th, 2014 07:00

When we use avtar.cmd file on client to exclude any file or folder, it does not affect any other client. On other hand, if we exclude files using a dataset, other clients using that dataset can be affected. Please be careful when you use dataset to exclude files or folders.

I have already mentioned how to exclude drive using avtar.cmd in my last post. For doing same task using dataset -

1. Go to Tools > Manage Dataset

2. Select dataset which you want to modify and click exclusion tab.

3. Select plugin type and browse for files which you want to exclude.

4.Click on + sign to add file/folder to exclusion list.

ECN1.png

Regards,

Pawan

2 Intern

 • 

498 Posts

June 19th, 2014 10:00

my 2cents

to exclude in a specific dir

--exclude=/u10/oradata/mydb/*.dbf

for any place with in a dir (meaning any place below the top dir)

--exclude=/u10/**/*.dbf

that double /**/  is supposed to mean in ANY DIR that matches this path  - so if you had a 3 dbf's in different dirs. under /u10/  it would exclude those dbf's no matter where they are (I have verified this)

I have not tried but I figure this might work

--exclude=/**/*.dbf

I put mine on the server because the same policy is used to back all AIX servers, and adding too much to the dataset exclude causes overhead if I add one thing for serverA then something Different for serverB  then C  then D.

to me you end up with a bunch of overhead for excludes on servers that don't need it.  And when you retire a server - how many people remember to go look at the excludes in the dataset to see if something was just for 1 server.

but everybody has their own way of thinking.... so your choice...

hope the exclude examples help you.

No Events found!

Top