Hi, Is there a way to find out any volumes\qtrees which are not in any Dataset in protection manager? Basically we backup everything through PM so I am trying to figure out is there any volumes on Filer which are not in DS and thus not getting backed up or replicated. Would appreciate your help. Thanks
Again this is not available but can be got using a API. IIRC i have a working script using the api to get a list of volumes/qtrees that are not protected by PM.Let me dig and get you something tomorrow.
BTW what version of DFM are you using ? I suggest you upgrade to 5.2RC or atleast 5.1.D1.
Here is a sample report
The source path will contain either volume or qtree name and its distinguished using the type column as volume or qtree.
BTW here is the definition of UnProtected that this script will generate.
List all Unprotected Data: The definition of unprotected in this script is as follows.:
If this is the exact definition of your unprotected and the sample report is what you need, then I will share the script that can generate the same.
Unfortunately the program doesn't follow your unprotected definition. It just checks for volumes that are not in a dataset and assumes that if the volume is not in a dataset, it is unprotected.
- Rick -
I do not know of a PowerShell library for OnCommand APIs like there is for ONTAP APIs. I know of 2 alternatives:
1. Code in C# with Visual Studio.
2. Download Perl from http://www.activestate.com/activeperl/downloads.
- Rick -
The script is only in perl, for the sole reason that its OS agnostic and we can leverage it at multiple customer.
If you want the same in powershell you will have to write your own using the logic of the perl script.
The more ROI is on perl than powershell at least for the large adoption of this script.