Highlighted
javelina73
1 Nickel

exclude all drives/mounts then include specifics

Jump to solution

For database servers there are only a few drive letters or mounts that I want to backup.  I don't want to have a custom dataset for each server and I don't want to have a custom avtar.cmd file on each server.  For linux/unix hosts I want to have a dataset that excludes all mounts, then includes /, /boot, /home for example.  For windows I want to have c: drive only.  I've played with the syntax but can't find the magic incantation to exclude all drives or mount points.  Am I asking too much or is this possible?

0 Kudos
1 Solution

Accepted Solutions
8 Krypton

Re: exclude all drives/mounts then include specifics

Jump to solution

For any server and OS where you "know" that a drive or file system will be present, you can just include that info in your dataset source data field.

For Windows, don't use "all drives" - just specify that you want "C:"

For Unix/Linux, don't use "all filesystems" - just specify " / ", " /home ", etc.

That should work - the Avamar work order will send that info to whatever servers are specified in the respective group/policy, and if those servers have C: drives, that is what will get backed up, and only that (or if they are Unix/Linux, if they have " / " and " /home ", those are the only filesystems that will get backed up).

Does that help?

0 Kudos
3 Replies
8 Krypton

Re: exclude all drives/mounts then include specifics

Jump to solution

For any server and OS where you "know" that a drive or file system will be present, you can just include that info in your dataset source data field.

For Windows, don't use "all drives" - just specify that you want "C:"

For Unix/Linux, don't use "all filesystems" - just specify " / ", " /home ", etc.

That should work - the Avamar work order will send that info to whatever servers are specified in the respective group/policy, and if those servers have C: drives, that is what will get backed up, and only that (or if they are Unix/Linux, if they have " / " and " /home ", those are the only filesystems that will get backed up).

Does that help?

0 Kudos
javelina73
1 Nickel

Re: exclude all drives/mounts then include specifics

Jump to solution

Thank you!  Was so focused on doing it the way I thought it should be done I couldn't see it staring me in the face.  Tested it and it works. 

0 Kudos
javelina73
1 Nickel

Re: exclude all drives/mounts then include specifics

Jump to solution

It is also necessary on unix systems to go to the options page of the dataset and change File System Traversal to "Do no traverse any mounts".  Otherwise if you include root you get all the mount points under it.

0 Kudos