Skip to main content
Solved

Change association backup copy by API or QCommands


Forum|alt.badge.img+9

Hello Community, 

I have some flow to automate. In my company we have second copy of data working as our DR solution. I would like to have possibility of change backup copy association from Storage Policy by API or QCommand to automate entire process. Please let me know which option is possible to perform in that situation. 

For example: 

Regards, 

Michal 

Best answer by Michal128

Hello ​@Albert Williams 

Thanks for your checking. I created dedicated API request by qcommand and it is working. The code is in Powershell, but everything is working :).

If someone are interesting in the topic. Please contact me on email: michal.zebrowski.it@gmail.com

Regards, 

Michal

View original
Did this answer your question?

2 replies

Forum|alt.badge.img+15

Hello @Michal128 

 

Thanks for the question, i was looking over the following API that might be able to help you but it seems the association section is not included: 

https://api.commvault.com/docs/SP36/api/cv/Storage/update-storage-policy-copy-details/#update-storage-policy-copy-details

We do not have an API for every action in the Java console unlike the command center and plans. 

I suspect this is missing from the API as this is not something we really support in the Command Center and plans. 

 

Sorry i don't have an exact answer for you here. 

 

Kind regards

Albert Williams


Forum|alt.badge.img+9
  • Author
  • Byte
  • 58 replies
  • Answer
  • December 2, 2024

Hello ​@Albert Williams 

Thanks for your checking. I created dedicated API request by qcommand and it is working. The code is in Powershell, but everything is working :).

If someone are interesting in the topic. Please contact me on email: michal.zebrowski.it@gmail.com

Regards, 

Michal


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings