Question

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


Badge +5

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.


4 replies

Userlevel 5
Badge +16

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?

 

Badge +5

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. 

Userlevel 5
Badge +16

I couldn’t find documentation on it.

I’ll ask around on your behalf.

 

Userlevel 5
Badge +16

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.

Reply