2013-05-14 02:57 AM
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
2013-05-14 10:56 AM
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.
2013-05-14 11:14 AM
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.
2013-05-14 08:59 PM
Thats awesome BABA Rick . very quick turnaround.
BTW does your code take care of the unprotected definition in my earlier post ?
2013-05-14 10:33 PM
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 -
2013-05-15 07:15 AM
Thank you for reply.
Is it possible to get this script in power shell as we have all windows based infrastructure.
2013-05-15 05:39 PM
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 -
2013-05-16 06:42 AM
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.
2013-05-16 06:52 AM
Thank you Rick and Adai.
Can you please direct me to any blog\artical regarding the use DFM APIs in powershell. Will appreciate any help. Thanks