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.
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...
chrisvemc
50 Posts
0
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.
gcck
1 Rookie
•
12 Posts
0
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
eskolnik
5 Posts
0
June 18th, 2014 12:00
Yes I agree the documentation is very poor at best in this area.
eskolnik
5 Posts
0
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?
pawankumawat
355 Posts
1
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 –
Regards,
Pawan
eskolnik
5 Posts
0
June 19th, 2014 07:00
That doesn't show me how to use wild cards ...
pawankumawat
355 Posts
0
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.
Regards,
Pawan
J_H_
2 Intern
•
498 Posts
0
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.