Skip to main content
Question

Unable to find equivalent API for server plan association with SQL server database/instance


Forum|alt.badge.img+6

Hi Team,

We are trying to automate commvault backups and restore process.

We need to backup SQL server instances and databases.

Created server plan and we have database and instances added it to command center. I also associated a single database using instructions from here: https://documentation.commvault.com/2022e/essential/associating_plan_with_sql_database.html

But I am not able to see any equivalent API for this that I can leverage to automate the process.

5 replies

christopherlecky
Byte
Forum|alt.badge.img+17

When you say backup and restore, what do you mean? are you trying to keep two instances synced? what are you using to manage the automation?

 


Forum|alt.badge.img+6
  • Author
  • Byte
  • 25 replies
  • May 31, 2024

We want to backup SQL server via Instances (added via agents in commcell). Also, would like to restore it later.

No, we are not synchronising any two instances together.

We are using GoLang leveraging equivalent APIs (from command center) to automate the backup and restore operations via server plans. 


christopherlecky
Byte
Forum|alt.badge.img+17

I couldn’t find documentation on it.

I’ll ask around on your behalf.

 


christopherlecky
Byte
Forum|alt.badge.img+17

One way to get around it though is to create a group and associate the plan to the group and add and remove clients to the group.

 

It’s the way that I avoid having to deal with associations in general.


Forum|alt.badge.img+5
  • Byte
  • 22 replies
  • December 30, 2024

When installing the agent, we use a prepared XML for silent installation what contains the required modules and the Plan name.

This way, the client registers itself and enables the backup fully automatical, no extra steps needed.

If this is your goal, let me know, then I can share my XML as example. 


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