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
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