Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

5529

October 17th, 2013 08:00

Exclusion List for Linux clients

I was reading the admin guide and see the process via datasets..

I was wondering if there is a way to create an exclusion list on the client to be backed up that it parses instead of creating/modifying a dataset on the avamar server, if so how do I do it?

or am I just dreaming...

is there any docs on it?

2K Posts

October 17th, 2013 09:00

You can edit the avtar.cmd flag file in the Avamar var subdirectory to set excludes -- default C:\Program Files\avs\var (Windows) or /usr/local/avamar/var (Linux). If the flag file does not exist, create it. In the flag file, write your exclude flags one per line, e.g.:

--exclude=C:/Temp

--exclude=D:/HugeDatabase

--exclude=Z:/

39 Posts

October 17th, 2013 09:00

Thank you for the information, it is much appreciated

Once I do this, is it logged anywhere on the client that when a backup starts, it logs something like “excluding /usr/local” …. Then starts backup…yada yada

As an example

Thank you

David

39 Posts

October 17th, 2013 10:00

Thank you

2K Posts

October 17th, 2013 10:00

These parameters count as command line parameters as far as avtar is concerned -- they will appear in the list of command line parameters in the log. They should also be logged when the list of exclusions is processed.

2K Posts

October 17th, 2013 11:00

My pleasure!

A few things to note -- best practice is to set exclusions in the dataset rather than in avtar.cmd since the flags in avtar.cmd apply to all backups, including plug-in backups. When a plug-in invokes avtar, it may report warnings about the exclude patterns in the log. This may bubble up to the activity monitor.

Managing excludes in avtar.cmd can also get out of hand very quickly if you have many clients that have specialized requirements.

If you have one or a few clients where you need to exclude particular files, you can create a dataset with the appropriate excludes and override the dataset only on those clients. There is a checkbox in the GUI to force a client to use a specific dataset instead of the group dataset.

39 Posts

October 17th, 2013 11:00

Will these exclusions affect image level backups for vmware vms in any way by using the avtar.cmd?

2K Posts

October 17th, 2013 11:00

You should not set any flags in avtar.cmd on a VMware Image proxy unless asked to do so by support. File excludes will not work with image backups regardless -- image backups operate at the disk level.

39 Posts

October 17th, 2013 12:00

I guess you mean the proxy server?

What I meant is we have some virtual machines that we take both filesystem level and image level backups. We have to cause the filesystem used within our linux vms does not support file level restores from image backups.

So on a vm I will set up the filesystem backups on one schedule and the image level on another schedule.

For the filesystem level I may use the avtar.cmd.. to what extent im not sure yet.

2K Posts

October 17th, 2013 12:00

I understand now. Filesystem client excludes inside the guest will have no effect on the image backups. The image backups will not even be aware of the guest level agent.

Avamar 7 supports FLR for ext4 filesystems so if you're using ext4 and want to drop guest level backups, you may want to consider upgrading.

3 Posts

November 12th, 2013 05:00

Really? I was under the impression that Avamar 7 still does not support FLR for Ext4 with VMware Image Level Backup, but that does not seem to be a case anymore: https://support.emc.com/docu48222_Avamar-7.0-Release-Notes.pdf?language=en_US

Am I reading this correctly and the "VMware" stands for Image Level Backups?

4 Posts

December 15th, 2016 19:00

What about through the GUI, tools-->manage datasets? say you wanted to exclude all .Z files could you add them to the exclusions there *.Z, say if you didnt have access to the client?

2K Posts

December 15th, 2016 20:00

If this is a filesystem backup and you want to exclude all files that end with the .Z extension, you would set the exclude to:

--exclude=**.Z

When specifying Avamar wildcards, * matches a single path element, where ** matches any number of path elements.

4 Posts

December 16th, 2016 04:00

Its actually a couple database servers, top high change rate clients, we are sending just about a TB a day across the network and storing it. Not an efficient way to use Avamar. The DBAs are compressing and as you know, Avamar and compression do not mix. I want to exclude all .gz and all .Z files from these backups. So your saying in the dataset I can add --exclude=**.Z or .gz and it will catch them all?

2K Posts

December 16th, 2016 05:00

If you're sure there are no valuable files with that extension, that will do the trick but a top level exclude like that has a pretty big blast radius. You might want to consider applying the exclude as something like --exclude=path/to/database/directory/**.Z just in case.

4 Posts

December 16th, 2016 05:00

I follow. Thank you for the chat and suggestions. Much appreciated!

No Events found!

Top