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?
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.:
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
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.
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.
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.
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.
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.
ionthegeek
2 Intern
•
2049 Posts
3019
0
Posted 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:/