Skip to main content

I am looking at restoring multiple servers at one time (20+). I wanted to see if anyone has accomplished something similar with scripts.

@ShaneHicks , what method would you prefer to perform this?  You can go to do the restore in the GUI, but click save as script.  Now you’ll have the required files you can run via an execure xml command:

https://documentation.commvault.com/11.25/expert/45276_qoperation_execute.html


The issue that I have is simplification. I do have the XML and bat file but the command line would be long with all the field name changes is what I assuming.


@ShaneHicks 

 

You can generate a Command Line script from the Commcell Console that you can use to run the restore(s) from command line:

https://documentation.commvault.com/11.24/expert/32451_generating_command_line_script_from_commcell_console_vmware.html

 

To run the restore after you have the CLI script saved/ generated:

https://documentation.commvault.com/11.24/expert/32453_performing_restore_vmware_command_line.html

 

And the parameter details are available below:

https://documentation.commvault.com/11.24/expert/32457_parameters_for_command_line_restores_vmware.html

 

This could be further nested into a user created batch script to parse though a list of arguments for the commands to further automate it if preferred but there is no CV script that will batch multiple VM restores as each restore will require its own arguments.


This is exactly what I was needing. Thank you everyone!