Skip to main content

hello 🙂,
I want to restore an instance of my database using Python.
I'm trying to use the cvpysdk library.
I can use:

https://github.com/Commvault/cvpysdk

>>> job = subclient.restore_out_of_place(client, destination_path, paths, overwrite, restore_data_and_acl)

should I use another way?

br
k2

Hello @AleAle 

Thanks for the great question!
I would recommend using the following for details around Python commands:

https://api.commvault.com/

For example this might be what you are looking for: 
https://api.commvault.com/docs/SP34/api/cv/MySQLDatabases/my-sql-restore#mysql-restore-operations
On the right hand side you can select language and we have a Python section: 

Example: 


Kind regards

Albert Williams

 


thx, I handled with cvpysdk.

 

br

K2


Hello @AleAle 

That’s good news you have got it working.

Can you please mark the thread as answered if there are no further questions.

 

Kind regards
Albert Williams


Reply