Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-14
02:57 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
View By:
9 REPLIES 9
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-14
10:56 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Muhammad,
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.
Regards
adai
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-14
11:14 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Here is a sample report
FilerName | vFilerName | SourcePathName | Type |
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.:
- A volume is un-protected only if its not VSM‘ed or none of its Qtrees are QSM’ed
- A Qtree is un-protected only if its neither part of volme that’s VSM’ed nor QSMed.
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.
Regards
adai
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-14
04:38 PM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Muhammad and Adai,
I have published a blog post about finding volumes not is a dataset. I hope it helps.
Regards,
- Rick -
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-14
08:59 PM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thats awesome BABA Rick . very quick turnaround.
BTW does your code take care of the unprotected definition in my earlier post ?
Regards
adai
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-14
10:33 PM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Adai,
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.
Kind regards,
- Rick -
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-15
07:15 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Rick,
Thank you for reply.
Is it possible to get this script in power shell as we have all windows based infrastructure.
Many Thanks,
Muhammad
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-15
05:39 PM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Muhammad,
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.
Regards,
- Rick -
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-16
06:42 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Muhammand,
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.
Regards
adai
Re: Is there a way to find out any volumes\qtrees not in any Dataset in protection manager.
2013-05-16
06:52 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
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