Platform Release Webinars (July 2026): Commvault Cloud SaaS and LTS 11.44
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
I need to remove some 1000 users from the Gmail and Google Drive backups. do we have any automated or easy method to complete it.
Hey Team, i need to build an Workflow, for the “Update Team”. They should simply start the workflow which then stops all jobs, makes a DR backup, disables the schedule and stops the services for CS or Mediaagent. Unfortunately, I'm a noob when it comes to this topic. I got the point about stopping all jobs and then doing a DR backup. I even saw a point where the services are restarted but that doesn't help me either. Maybe someone has an idea from you :)
We have Jenkins and want to use REST APIs to connect to commvault for database restore (duplication) activity, is it possible ?
I have a script that adds a vm to backups by modifying the vm tag in vcenter.The problem is that the VM does not show up in Comvault until the subclient refreshes, which happens during the discovery phase of a backup or if a preview is done on the subclient. Is there a way to programmatically refresh subclient content for VSA based backups? A datacenter refresh is too heavy, and general of an operation, I need something more specific thanks.Chris.
We have created an workflow which will do some automation task for our BigFix patching. did anyone know how to call / run the commvault workflow from BigFix , qcommand or do we have option to run the workflow using command line so that we will create a bat file on commserve and will make BigFix to call the bat file to run the workflow as we don't want to schedule the workflow from commvault and we want BigFix to call / run them. Thanks in Advance.
Hello,I’m looking at upgrading all my Windows file system agents to the same service pack as our management server.I wanted to do this via creating a package and have the package sent to the servers via sccm as some of the servers have to be manually patched.I was wondering if anyone has done this before? any advice would be appreciated. Many Thanks, Craig
Hello Team, Is there a way to get the DDB Engine dependent copy information through REST API? I am specifically looking for information that is available in Java console:Storage Resources > Deduplication Engines > DDB_ENGINE_NAME > Dependent Copy Information.ThanksAbdul
Hello good,We are configuring some reports from the Web report, we have detected that two cases occur when naming the report.#1 - The name of the pdf file that is sent by mail is the sum of the "Report custom name" field + the "Name" field#2 - The name of the file that we save in a network path is saved only with the name of the "Report custom name" field.We are wondering if it is possible in case #2 to save the pdf in the network path with the same name as case #1 explained above.Is there any way to be able to do it?Thank you,All the best.
Hello everyone,Recently, we started testing REST APIs with our Commvault test environment. The tests were successful with less than 5 subclients running with the REST API. However, as soon as I increase the load to 50, 100 or 200 simultaneous subscribers, I notice that the CommServ is very slow to take the jobs into account. Subclient jobs appear 6 by 6 and it takes me 15min to handle 100jobs by the CommServ.I have done a lot of research but I have not found anything in the Commvault documentation that could lead to this anomaly.Has anyone using the REST API on their Commvault environment ever noticed this type of behavior?For information: Commserv in version 11.26.18Python script to call the REST API
Hello Community ,I need to Pull out VMs( VSA snapshot backup) backup history ( all available backup details like start time , end time , status) through an API . The Commvault GetVM API is only giving the status about recent backup .Which API can be used to get information about all available backups for VMs ?Regards,Mohit
Hi Folks I was reviewing this thread: which seems to be precisely the same issue I am running into. I’ve searched through my registry but could not find the appropriate key, so I created it, although I must not have created it in the right spot, I’ve made some other error, OR this is no longer the way to solve the issue. I have tried both here:HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance001\WFEngineAnd here:HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\WFEngineI created the key and dword value (ValidateSSL=0) in both locations, tried restarting the workflow engine and also tried restarting the whole machine, but I still have had no luck.Any Tips or suggestions?Is there any way to read the environment to confirm the key was set and the workflow engine has confirmed the setting?My error is still: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target<br>Source:
We have a department that is going to be using Commvault APIs to pull restore job success / failure rates, but we only want them to pull the quarterly test jobs we run. With our old backup system we could name the restore jobs when we ran them, but with Commvault we don’t have that functionality. Anyone have a workaround to this?
After the upgrade to Windows 10 21H2 I’m not able to login to the Commserve with Connect-CVServer cmdlet. I receive always “login failed” but I’m sure about username and password.In the past I solved this problem using Internet Explorer to connect to Commserve once time, but now IE is not available in this version
Hi guys, Hope everyone is doing well.I have a workflow that I scheduled to run once per day, the workflow may take time to complete (Over a day sometimes depending on the data to process).I need to have only one workflow job to be running at the same time, and I wonder how can I prevent the next scheduled job of the workflow to be canceled if the today’s one will keep running until the next day. Found the “AcquireLock” activity, which I tried to use at the start of the workflow, which works fine to prevent the next scheduled workflow to execute, however it remains in the waiting state, while I want it to end directly if the previous one is still running.Is there any way to force the AcquireLock to process to the next activity even if it didn’t acquire the lock ? That why, if it didn’t acquire the lock, I can end the workflow directly. Regards.
Hi All, I am baffled by why I have same API working on commserve and on another I get Internal Server Error (500).. I am trying to launch a backup job, using same api request and get different outcome on 2 commserves… api request Here you can see in red there is the api request if application is Virtual Server - this is failing with 500.outputAnother which is File System - completes ok. For SQL also completes ok.. I’ve tried different backup levels thinking maybe there is some kind of thought behind it.. looked into documentation here: https://documentation.commvault.com/v11/essential/45793_rest_api_post_backup_set_backup.htmlFollowing that I’ve changed headers to application/xml instead of /json - but still the same… Logs from the failing commservs webserver.log:webserver.logAny ideas on this one?
Hi Guys, I’ve created a workflow, which was running just fine, but starting of now, one of the activities goes into pending state with error 19:857, the activity executes the following PowerShell script on the CommServ:$count = (Select-String -Pattern "string" .\file.txt).Countif ($count -ne 0) { exit 1 } The exit code 1 here, will be forwarded to a decision block.Any help would be much appreciated.Regards.
heloo everyone, can anybody tell that sangfor HCI is support for VM backup ?
Can anyone point me towards the documentation on how to set the Advanced Backup Options for SQL Server Default subclients through REST API? I can’t seem to find where to set these in the API docs. I’ve attached an image of the props I’m looking for.
Hello - We have a bunch of DEV servers that the developers turn on and off without letting us know. We would like to setup either a prescan or prebackup process that would check to see if the server is active, either by a network check or seeing if its powered on - and if its not, skip the backup. Anyone tried this? thanksPaul
We’re a Service Provider and want to automate reoccurring tasks using Python, so we can integrate these in our business processes. (examples: creating new schedule policy, creating new storage pool, create scheduled report)As I’m new to Python it would be really handy to have some way of converting a Commvault action to a finished Python script/command, similar to how you can see certain API equivalents or save certain actions as a script from within the Java Console.Is that possible or some other way to get the Python command equivalent without having to manually put it together?I’m aware of the info on the documentation online and GitHub, but it would be great to have more examples than the ones on the documentation site so they can be used as a guideline for non-Python pros. For example for each option a quick example, as it is done with the qcommands.
Hello Folks,I have to perform these three steps via WF but I can't find any guide that I can help myself.Anyone have experience?Backup of Server AMI (AWS)ThenBackup FS via Media AgentThenSQL Backup FULL / Differential OnlineBest regards,xor
I have an issue with the this:Post //WebConsoleHostName/webconsole/api/ClientGroup/clientGroupId { "clientGroupOperationType": "Update", "clientGroupDetail": { "clientGroup":{ "clientGroupName":"smarties" }, "associatedClientsOperationType": 2, "associatedClients": [ { "clientName": "smarties-test01" } ] }}And I recieve the error:{"errorMessage":"INFO: [The INSERT statement conflicted with the FOREIGN KEY constraint \"APP_ClientGroupAssoc_clientId_FK\". The conflict occurred in database \"CommServ\", table \"dbo.APP_Client\", column 'id'.] [RecNum:1, Object:APP_ClientGroupAssoc, State:23000, NativeErr:547, RowNum:1, Severity:16, LineNum:1, Spid:-1] INFO: [The statement has been terminated.] [RecNum:2, LineNum:1, Spid:-1] ","errorCode":1016}Any ide what is the problem here!
Simple question.Is there any way to update the display name of the an activity through the script api?
The APP_VM table seems to only include information for VM’s that have been backed up.Where is non-backed up VM information held? Thanks.Chris.
This Post can be deleted, since I think i finally found what i’m looking for:https://documentation.commvault.com/v11/essential/49184_rest_api_post_subclient_properties.html Sorry!!
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.