Operation on developing SDK: Unable to get Subclient details from commvault sdk-python

Last post 10-10-2018, 3:27 AM by Swagata Chowdhury. 0 replies.
Sort Posts: Previous Next
  • Operation on developing SDK: Unable to get Subclient details from commvault sdk-python
    Posted: 10-10-2018, 3:27 AM

    Hi,

    I am developing a customized python script to get backupset, subclient details using Commvault SDK software package "CVPYSDK". The probelm I am facing is I am unable to get "backupset" as well as "subclient" details.

    for backupset I am using : backupset = agent.backupsets.get(backupset_name='wf_test2_swag') command.

    It gives me error -  File "c:\Python27\lib\site-packages\cvpysdk-11.14-py2.7.egg\cvpysdk\backupset.py", line 484, in get
        self._backupsets[backupset_name]["id"]
      File "c:\Python27\lib\site-packages\cvpysdk-11.14-py2.7.egg\cvpysdk\backupset.py", line 586, in __init__
        self._agent_object = self._instance_object._agent_objectHowever,

    However, I can print & view the backupsets, using print(agent.backupsets) command

    for subclient I am not sure which command I should used to view the subclient of any particular backupset?

    PFA the snaptshot.

    kindly help. Thanks


The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2018 Commvault | All Rights Reserved. | Legal | Privacy Policy