Platform Release Webinars (July 2026): Commvault Cloud SaaS and LTS 11.44
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
Where are these alert settings adjusted in the Web-GUI Command Console and Java-GUI CommCell? (URL or screenshot) Can you provide a link to the books online documentation describing alert thresholds? I have similar concerns. The anomaly thresholds seem to be calculated in a dynamic, ever-changing way and so therefore are always triggering the alert. Notice in the example above, the alert is being set even though the backup is only 26 minutes longer. Hardly qualifies as an alert! I mean, come on! We have backups that vary in size and copy duration due to incremental changed data caused by the end user. The amount of data just is variable. The alert “Delay Reason” is blank. That’s a sign right there that this is not an error.Can I engage some logic to suppress this specific type of alert if the delay reason is blank and the running time is no longer than 100% more than the statistical average for this job over the last 3 months?
Hello, I would like to duplicate VSA subclient under VMware pseudoclient.Based on Commvault documentation, I did the step of the following page: https://documentation.commvault.com/commvault/v11/article?p=106064.htm Unfortunately, when executing the “qoperation execute -af clone_subclient_template.xml” command, an error occured, saying that VM tags are required to perform the subclient duplication. Do you have a proper documentation link or XML template to duplicate a subclient and how can I manage the dynamic content based on VM tags? Thank you in advance, Best regards,
Qcommand to get install directory on a client or mediaagent
HiHas anyone experienced the ‘Source Storage Pools’ being Blank (or not displaying) when using the Move Clients to new DDB WorkflowI’ve checked permissions,There are DDB v5 targets in placeand there are old classic DDB’s as ‘source Storage Pools’I've tried from the JAVA GUI and also the Modern HTML5 gui
I am working on some command line automation and need to disable/enable an alert. I see that qoperation execscript is what I need but not seeing a qscript that will do what I want. Looking to disable an alert. Then the opposite to enable it.Many thanks!
Hi there,My colleague is facing the following issue. He wants to monitor Commvault using scripts. With my help he has installed powershell modul into Commvault. Then, we have executed the script from the Windows server (locally) and everything works well. However, we are not able to execute powershell script remotely - from the diferrent machine than Commvault is running. Once he executes scripts from Zabbix server (remotely) the following errors appear:ValidateResponse :Status:Message: The response content cannot be parsed because the Internet Explorer engine is not available, or InternetExplorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.ErrorMessage:RecommendedAction:At C:\Program Files\WindowsPowerShell\Modules\Commvault.RESTSess ion\2.0.21\Commvault.RESTSession.psm1:560 char:13+ ValidateResponse $response $output $ValidateProperty+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~+ CategoryInfo : NotSpecified: ( [Write-Er
Hello,I look for a way to distinguish between MAXDB log backups and data backups in the REST API.As you can see in the attached screenshot they are marked as "Incremental (Log, Config)" and "Incremental (Data, Config)" in the GUI, but the REST API marks both as backup type "Incremental" without additional information.I have checked the queries for the job summary and job details, but all attributes (backupLevelName, localizedBackupLevelName, backupType) say "Incremental".Is there any way to get this additional information?I am also looking for a way to query log backups from SAP HANA. My current logic is to look for job type 18 ("Application Command Line Backups") and process all SAP HANA backups as log backups.However, I can't guarantee if this is always the case. Is there another way to query such backups?
I want to use a command output of previous operation as condition in decision block instead of exit code.if Command out put is a string value “No jobs to display”,i want to proceed for next operation,if not i want to close workflow with a append in jobdescription But in decission making when i use a string value it always returns false Log: 5206 CommandActivity : [LastJob (LastJob_1)] command succeeded with result [No jobs to display.]5206 WorkflowStep : [LastJob (LastJob_1)] completing activity with status [COMPLETED], outputs [<LastJob_1><system><startTime>1623636233</startTime><endTime></endTime><status>RUNNING</status><timedOut>false</timedOut></system><instance></instance><backupSet>defaultBackupSet</backupSet><subClient>default</subClient><jobStatus></jobStatus><exitCode>0</exitCode><commandOutput>No jobs to display.</commandOut
Hi CVcommunity, I do have a question and maybe some of you could point to what first steps should be taken to perform the following: We have backup jobs tha are failing with error codes such as ‘Waiting for services to come online’, ‘Error encountered when closing virtual device. Please see SQL server vdi.log for more details’ and etc. - Most of those jobs usually are fixed by simply resubmitting the job or resubmitting it after restarting client services….Is there an option that Commcell could run a workflow itself when job fails with such failure reason?Workflow should restart client services and resubmit the job.
I am using a POST against the /Jobs endpoint to get all backup results. It’s filtered by JobType 4,5 and 14.Now i checked my SAP HANA Backups and realized that there are no LogBackups but i can see them when i’m using the job history in comcell console.Are there any more job types i should use in my filter to get all types of backups and restores?
Hi All, I’m working on a decoupled image template (FR20) that we want to register using SIMCallWrapper after deployment using a script.In this scenario, The comms to the CS must go via a Network Gateway Proxy.Whenever we use the “-ConnectionInfo” parameter with SIMCallWrapper, We get error output: “Invalid arguments received”.Using the same format as documentation: [-ConnectionInfo GatewayHostname:Port].Ref: Registering the Client Using the Command Line (commvault.com)See below example:SIMCallWrapper.exe -OpType 1000 -CSHost CSHOSTNAME -CSNAME CSNAME -clientName CLIENTNAME -ClientHostName CLIENTHOSTNAME -authcode AUTHCODE -overwriteClientInfo -output C:\install\install.xml -ConnectionInfo PROXYHOSTNAME:8403I have managed to work around this issue by manually adding a rule to communicate to the CS via Proxy to the FwConfigLocal file, then removing “-ConnectionInfo” parameter from the SIMCallWrapper command to register the Client successfully. Wondering if anyone has also seen this with
Hello,I would like to retrieve all Domains and Organisation External groups using the qCommands.I tried to do it using the following procedure but I can only retrieve the CommCell User Groups and not the external one:https://documentation.commvault.com/commvault/v11/article?p=8261_1.htm Do you think it is possible to retrieve the configured external groups using qCommands or it is possible only using the API request “/UsersAndGroups” ? Thank you in advance for your answer. Regards,John
We have multiple Hyperscale \ ScaleProtect implementations some with six bricks in the cluster. It is very tedious to right click, check the box, say ok every time you need to do an OS upgrade (soon to be monthly) or some other maintenance that requires the cluster to be in maintenance mode. Does anyone have a script or a workflow they can share?
hey all!I have a support group that by mistake was not marked as ‘Laptops admin’ and now they are owners of lot’s of laptops.how can I remove them from all laptops?any script for this? many thanks! Yirmi
Hello,I would like to run a script for each time that a backup fails to create a support ticket.The alert has been configured and the Powershell script has been tested and validated and works using the following command on the Powershell window:powershell.exe create_ticket.ps1 -s “Title” -d “Description”I would like Commvault to launch the script with its own tokens such as <CLIENT NAME>.Using the documentation ressource “Setting Up Command Line Alert Notifications” (source link: https://documentation.commvault.com/commvault/v11/article?p=5401.htm ), I configured the Run Command fields as following:Command executable location: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Arguments: /C powershell.exe C:\tmp\create_ticket.ps1 -s "Backup job failed for <CLIENT NAME>" -d "`nAlert Title: <ALERT NAME>`r`nTrigger Time: <TIME>”Unfortunately this doesn’t work.Do you have any advises? Thank you for your answers. Best regards,John
Hello, I tried to perform a find files through Command Line for NDMP client to retrieve all version of a file only with his name (just like the Find feature with the Commcell Console).Using the following documentation link “https://documentation.commvault.com/commvault/v11/article?p=45143.htm”, I made those XML files:-------------------------------------------------------------------------------------------------------------------------------------<databrowse_BrowseRequest opType="Find"> <entity _type_="0" appName="NDMP" backupsetName="defaultBackupSet" clientName="NAS" subclientName="default"/> <paging pageSize="4294967295" skipNode="0"/> <mode mode="2"/> <paths path="\**\*\file.txt" /> <queries type="DATA"/></databrowse_BrowseRequest>-------------------------------------------------------------------------------------------------------------------------------------<databrowse_BrowseRequest opType="Versions"> <entity _type_="0"
Hello,I want automate my installations, for this I want to set the password hash set into the default.xml during the installation face. I found all things to write for each system the individual default.xml, the only what I am missing is the password hash.<userAccountToLogin domainName="" encPassword="" password="" userName="" />I use ansible for deploying Unix machines, with a python script to configure in the second step Storagepolicy and the right schedule policy, via Rest API regards Juergen
Hello,I am looking for a solution which can trigger a script outside from Commvault when ever a backup job is failing. The script needs only give over the failing JOBID.Plan is to automate a quick analyze of the failure and trigger the right team to fix the issue without manual invention.thanks in advance for your suggestions.regards Jürgen
Does anyone have a PowerShell command that will retrieve the users that license summary report would report on?I’ve used Get-SPO -Limit All before to get a list of users but this seems to get more users than CV reports on. I want to extract what CV would report on before implementing backups (I have an account to be able to do this) to ensure the correct number of licenses are purchased.I have seen reference to getting the list in the logs (when watching/investigating issues) but haven’t seen the command used.
I tried to get some Information similar to the Health Status Dashboard by Rest API.I only need the overall Results and not all details.Is there any endpoint which i can use to get it?
Hi all. Any one who can explain how the Install Windows Updates Workflow works? I have a MediaAgent which does not have internet access or access to any other windows update service, can I use the workflow to update this MediaAgent with windows updates, or does it need to have access to the internet to get this workflow to work? Thanks-Anders
I have following problem when I try a more complex password with chars like ‘#~’ I got error: Request body is empty or format is invalid.If I try a simply password like the sample :”cXE=” it work well. I use V11SP20.40thanks.RegardsJürgen
Hi, I have a strange issue, I use same call for two different commcells. One commcell returns data as requested with no issues, second commcell simply returns very ‘informative’ error:Response code: <Response [200]>{'CVGui_GenericResp': {'@errorMessage': 'Operation failed', '@errorCode': '2'}}I am sending the following URL:http://mycommcell.NET:81/SearchSvc/CVWebService.svc/ExecuteQCommandcommand=qoperation execscript -sn QS_DataProtectionJobSummary -si '2020-1-1' -si '2021-3-16' Code snippet: def commcell_authentication(self): """This method is used to get token for comcells""" for auth in self.cs_api: pwd = self.cs_creds['password'] pwd = bytes(pwd, encoding='utf8') pwd = str(base64.b64encode(pwd), encoding='utf-8') username = 'dbadmin\\' + self.cs_creds['username'] self.cs_login_api = self.cs_login_api.replace("<<username>>", username) self.cs_login_api = self.cs_login_api.replace("
We do automatic rollouts of Active Directory in Azure for our Customers with Ansible.We want to install the AD iData Agent with the Unattend Package and Custom “install.xml” File.These we are already doing successful for MA, Proxy and Restore Agent.If you do Unattend AD Installation in the XML is PW for AD Agent needed. But it is expected a hash, but i cannot find what hash (for the PW) the Installer expect. Normal PW is not working and sha-256 hash of PW is not working, too.This is the line in XML:<activeDirectory> <userAccount password="3820c5c6992b6774aced93ecd88e04e35b4398d99e3f0a7d8" domainName="q1xyz.local" userName="svc-adbackup" /></activeDirectory>So it would be important to know with what the setup when you create the package the PW encryptes, because during automatic rollout we get it from our central key Vault during installation.
Hello all, First off a disclaimer - I work as a TAM for Commvault…Over the last year or so I have started to get more questions from my customers about using APIs to help automate common tasks or far more complex integrations.I am just wondering if you are doing the same yourself and curious to see how you are finding it and if you have any questions or feedback that could be useful for others in the community to learn from.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.