Our DBA team is considering to expose a database self-serve restore option to teams who frequently need to perform restores. We currently use the commvault CLI to interface with our automation tools.
Looking through the manuals the way to go seems to be using 'qoperation execute' paired with a restore.xml file.
I can't find any way to dynamically generate a restore.xml through a CLI, so I've generated multiple restore.xml through the commcell console with different point-in-time values and did a compare between them.
The comparison seems to show that only the <pointInTime> <timeValue> has changed.
All the <device> details stayed the same.
So provided that there is no removal or addition of MS SQL Server Data Files, would it be safe to assume that the generated restore.xml is reusable?