The CommServe sends additional arguments and appends them to the Pre/Post commands (if any). Is there an additional argument to identify the subclient?
I can't see anyone on the list:
We have a client with six subclients. Each of them require their own PreScan process. What I want is a common PreScan Script Process (e.g. /opt/commvault/Base/cvlt-PreScan.sh) to all of them and to treat the differences inside the Script, in a case loop for example.
We are trying to avoid passing parameters to Bash script inside the Commvaul PreScan field to keep the things simple as possible and we know that Commvault can pass your own arguments (args = [ -bkplevel 1 -attempt 1 -job 76986]).
One approach is to create a Bash script to each one, which sounds counterproductive.
Maybe Commvault software have an additional argument to identify the Subclient that can be used on this case or a qcommand that can be used to get the Subclient.