Unsolved
This post is more than 5 years old
1 Rookie
•
61 Posts
0
8029
May 5th, 2011 09:00
How to exclude vmdk files from Avamar Image level backup
I am using Avamar 5 and VMware Image Level backups. There are some Virtual Machines with attached vmdk files that I do not want to include in backup. Is there a Avamar (I know everything about VMware ways to do this) way to exclude some of them?
No Events found!


wsonnier
16 Posts
0
May 19th, 2011 12:00
Glad you asked, I'm seeking the answer to that same question.
Sappomanno
4 Posts
0
June 30th, 2011 07:00
Hello,
there is a workaround, you can set the vmdk you don't want do backup as "Indipendent" in the disk options. This way the disks are unaffected by snapshots and can not be backuped by Avamar
Regards
Cristiano
XRay1978
1 Rookie
•
61 Posts
0
July 1st, 2011 02:00
Sappomanno,
Please read original post - I know everything about VMware options. What about Avamar?
Sappomanno
4 Posts
0
July 1st, 2011 03:00
Sorry, my fault, was to quick in answering. Unfortunately I konw no way to perform this via Avamar options.
Regards
Cristiano
Sameer_Khan
121 Posts
0
July 7th, 2011 08:00
Currently you can make that vmdk independent disk and during backup it will be skipped.
Leo Li
4 Apprentice
•
9K Posts
0
October 24th, 2013 01:00
Hey,
I also suggest you to try using avtar.cmd file to exclude VMDK files.
Create an avtar.cmd file which is contain the following option.
--exclude-from=FILE |
--exclude_from=FILE | -X FILE
Description:
Specifies the FILE containing a list of matching patterns used to exclude files from a backup or restore.
Common glob operators (wildcards) such as asterisk (*) and question mark (?) are allowed.
When specifying exclusions, case sensitivity varies according to the target computing platform you are backing up.
Exclusions specified for Windows platforms are not case-sensitive; exclusions specified for most other platforms are case-sensitive.
Either --exclude-from=FILE, --exclude_from=FILE or -X FILE can be used.
Multiple exclude files can be used. However, each one must be preceded by a separate --exclude-from=FILE option.
Hope this helpful.
ionthegeek
2 Intern
•
2K Posts
1
October 24th, 2013 07:00
I'm not sure why we resurrected a 2 year old thread about Avamar 5. In any case, I'm going to recommend against the advice from the previous posters. Please do not edit avtar.cmd on the VMware Image proxy unless specifically asked to do so by support. Putting the wrong flag in avtar.cmd can cause issues that are subtle and very difficult to diagnose.
Excluding VMDK files this way has plenty of pitfalls:
Starting in Avamar 6.1, it's possible to exclude specific disks using the GUI. This method does have some limitations (Storage vMotion can cause issues because the datastore name changes, for example) but is sufficient for most use cases.
avmaint
1 Rookie
•
115 Posts
0
September 14th, 2015 02:00
Ian, can you please point to the instructions to exclude files.
We have 1-2TB of SQL DBs inside VMs. we want to run OS backups as image and exclude the DB VMDKs. this will avoid configuration effort by OS teams.
for DB , we are running agent based backups.
ionthegeek
2 Intern
•
2K Posts
0
September 14th, 2015 07:00
You should find instructions on how to selectively back up VMDKs in the Avamar for VMware User Guide. However, this method also has some pitfalls around datastore and file names as I mentioned above. If you are not using VM snapshots for anything else, the cleanest solution will be to mark the data volumes as independent because this setting persists regardless of filenames, storage vMotion, etc.