Good afternoon all
I have DB2 backing up successfully and successfully executed the rollforward recovery within Commvault.
the DBA would like to be able to run this from the command line and we used:
db2 recover db <database_name> to 2001-12-31-04.00.00
The issue we have is that due to the way we have been routed, we need to specify a media agent for the recovery operation (easy in the GUI), but I can’t see a way to do this in the command line.
I’ve saved the XML script that would allow this, but the DBA would prefer to just run a command.
Is there anyway I can specify which Media Agent must always be used in this operation?
I hope that makes sense?
Thanks,
Mauro
Best answer by Mahender Reddy
View original