Platform Release Webinars (July 2026): Commvault Cloud SaaS and LTS 11.44
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
can someone please guide me in creating workflow which will rerun failed backups, and I will want to schedule that work flow at least two times a day.
I am looking at restoring multiple servers at one time (20+). I wanted to see if anyone has accomplished something similar with scripts.
Hello All !I am trying to find a way to get the state of the CommCell JobSchedulerCommCell Properties → Activity Control → Enable Scheduler by using REST-API calls, but I am unable to find any calls that show this state.The reason is that I want to have a repeating Alert if the Scheduler is disabled. I know I can get an alert for disabled/enabled by the Events19:656 Enabled19:655 DisabledBut these are one-time alerts which may drown in all other alerts. So I am looking for a REST-API call where i can Get the state of the Scheduler to be able to catch the state in a repeating script. I don’t need to be able to Set the state. Kjell Erik FurnesUniversity of Oslo, Norway
Hi Team, Can you please help me to add start, end time and duration of the job in Commvault backup summary report? Thanks,Murugan Chandrasekaran
In an activity with multiple choice branches an activity may or may not be defined.How do you check if an activity is defined with a script. For example: You may have a choice of how you want to gather some data, and the results may come from one branch or the other.To set a variable you need to determine which branch was used, a Try Catch block can’t be the want. Let me know if this isn’t clear.Thanks.Chris.
Hi I would like to stop services through workflow ; how do i confirm that all the services are stopped what does timeout 60 indicate? My workflow gets stuck at this step when i tried to stop services using :GxAdmin.exe -consoleMode -stopsvcgrp All -stop, with “waiting for response from workflow”
Hi,I created a workflow to restore a VM and for next step “WaitForJobCompletion” I have to parse the output of the execute step.Therefore I have defined a global Variable “RestJobID” and try to set it using a OnComplete Script.This is the OnComplete Script:XML outputXml = utils.parseXml(xpath:{/workflow/Execute_VM-Restore/outputXml});if (outputXml != null) { workflow.setVariable("RestJobID", outputXml.getText("//jobIds"));}I can see the JobID of the restore Job in the Log, but my script is not working as expected.And I don’t know Java.I spent hours searching and trying, but without success.Could someone please give me a hint?Thank you.
This is the configuration. The administrators are also not members of the Master group but of the CV Admins group that does have rights to delete a client. When we make the administrators a member of the Master group, then they will receive an email. Is this normal behavior ?
Hi all, I need to display failed backup jobs from yesterday using a script. In REST Webservice API Sandbox I am able to create API call - see below.Is it possible to run this API call as part of the script from Linux shell (as a curl command) or from Powershell? Or are API calls executable only as part of /from C#, Python, Ruby or Postman? Your help will be much appreciated! GET SearchSvc/CVWebService.svc/Job HTTP/1.1Host: win-cv-new.listopad.local:81Accept: application/xmlCookie2: QSDK 3c6ff3754c98e6b114bac8d6f751e1338d6ed01fb5a0dcf1abae25a51ddbf94bc8663b0b17632c829925b4447467b33075c9b41b52f765a7a1361f1ecffbd228e55980d2dcb805798d652cd364c0e64cc9ed6c0ce6af6e6c8b43c63b1a5791f04cdcde6a7f61db3827e9ae400eea2d6d971493994686d96c2f17b8bd959b8fe864f330e2a2503ee3e96b67b8f568462ac4ca2f9d20112401c80fe055bcee5c35b06f2744a83f76443fa25aa7f9c965625a33ab72a7f4ab3fdcfbf85df3d292ce67f3f7843e5f817a04163838fb982db422306577c98ffae3c254db77b7f8d28a083f3bcab1af341a55c1e67e3eb952dfbe89c52663d922f1a79a14db1513
Hi, I want to schedule the FSRestoreValidation workflow for automated restore testings. Because this workflow is designed for interactive queries, it doesn´t work as anticipated.My tries to modify the workflow wasn´t successful.Is there and easy way to modify the workflow to use parameters instead of interactions? Thank you and best regards Christian
Hello, I’m trying to add an alert to my script, when a scheduler runs to send the output via email to the client.I want to configure this via command line.I searched in the documentation but didn’t seem to find any information about this.Does anyone know how to do this configuration? Kind regards,Jmiamaral
I am working on a workflow that has to interact with third party rest apis.I ran into an SSL error that seemed to be caused by an invalid cert. Javax.net.ssl.SSLHandshakeException: PXIX path building failed: sun.security.provider.cerpath.SunCertPathBuilderException: unable to find valid certification path to requested target The obvious solution is to install valid certs but that will take some time, is there a way to disable cert checking in the httpclient activity?Thanks.
Hey,we are a Service Provider and Backup our Customer in Azure and own Private Cloud with our shared Commvault Installation. (11.24.29)In the moment we have started to automate all basics thing like:Add Hypervisor + VM Group Add CLoud Storage Create Plan/ Storage Policies / Schedule etcSo we can do an Onboarding of new Customer with basic VSA Backup fully automated is the goal. What we are looking for is to Setup the Remote Software Cache for each Customer via API. But we could not find anything regarding Software Cache and API. Has anyone an idea how to do it via API? Or has anyone another solution to do it automated? Thanks & BRMarcel
Hi All,i need help to create a powershell script using REST API command.i don’t found a lot of documentation for the specific use of REST API in powershell.in the community in have found a sample for POST LOGIN $headers = @{}$headers.add("Accept", "application/json")$headers.add("Content-Type","application/json")$username = "user"$password = "passwordtoencode"$encodePassword = [convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($password))$body = @{username=$username;password=$encodePassword;}$response = Invoke-RestMethod 'http://hostname/webconsole/api/Login' -Method POST -Headers $headers -Body $($body | ConvertTo-Json )$responseBut somenone have sample for all kind of REST API sample ?Thank in advanceChristophe
Documentation for Workflows mentions some Functions for Java to interact with or access other Resources during execution https://documentation.commvault.com/commvault/v11_sp20/article?p=49729.htm.But alone from browsing through the other Pages it gets clear there are way more options like activity.exitCode or workflow.setFailed().Dissecting built in Workflows reveals other treasures like csdb.execute(“sqlquery”).Is there a complete list of all available Functions and how/when to use them? Trial-and-Error and Reverse-Engineering by Customers seems error-prone and inefficient.
We are using a Workflow to monitor Mailboxbackups but it stopped working after Securing the Webserver and using different Ports (HTTPS for example 445, not 443 is used). The issue seems like that a wrong Port is used by a Activity.AbstractHttpClientActivity: [client jobs (HttpClient_ClientJobs)] failed to read response from url [http://COMMSERVENAME.domain.xyz:81/SearchSvc/CVWebService.svc/Job?clientId=1202&completedJobLookupTime=86400]org.apache.http.conn.HttpHostConnectException: Connect to COMMSERVENAME.domain.xyz:81 [COMMSERVENAME.domain.xyz/XXX.XXX.XXX.XXX, COMMSERVENAME.domain.xyz/0:0:0:0:0:0:0:1] failed: Connection refused: connectCaused by: java.net.ConnectException: Connection refused: connect As documentated this HttpClient Activtiy is part of the Workflow HttpClient Sends HTTP requests to access REST APIs or other web services. The response retrieved from these web services are later used within the Workflow. The following inputs are required: Method
I’m trying to get a list of Jobs from the Rest API.It was working stable for a few month and now its not working anymore. Any other query works fine.This is what i found in the WebServer.log:27444 40 10/20 10:09:36 40 backupeagle - Processing [POST] request : /Jobs : Headers :[Content-Type=application/json][Accept=application/json,application/json][Accept-Encoding=gzip,deflate][Expect=100-continue][Host=127.0.0.1:81][Content-Length=156][SkipOldJsonConverter=true][CVRequestRouted=true][MS-ASPNETCORE-TOKEN=a122a259-c6b4-42d5-b3b7-97685bda87aa][X-Original-Proto=http][trace-id=ws87c5dfa042cf][X-Original-For=127.0.0.1:51335] : Parameters : (empty) : AdditionalInfo[ClientIP[127.0.0.1] ConsoleType[Unknown] Operation[CV.WebServer.Controllers.Job.GetJobsListSummary (CVWebControllerJobs)] isTokenSupplied?[True] Username[backupeagle]]27444 26 10/20 10:12:47 26 backupeagle Invoke - POST /Jobs : HTTP code 'OK'35084 252 10/20 10:12:55 ### ### WebServerRoute::HandleRequest - Exception : Th
Can the “Install Windows Updates” workflow be used to “properly” install updates on CV Media Agents? I know it *can* -- because ‘Media Agents’ are a client group that I can select in the workflow. My question is more along the lines of “does the workflow handle Media Agents properly” -- as in stopping all the services and making sure SIDB/SIDB2 processes are stopped, putting the MA into Maintenance mode (so as to avoid alerts), etc, etc. We’re using WSUS to push updates and are basically gonna have to write batch/powershell scripts to stop services and make sure SIDB(2) is not running…. but if the workflow can do that for us, then that would be freaking awesome :)
Hi all, I am looking for a way to automate tape changes, and I’m trying to find a report/workflow that can list all scratch/full tapes in a library, alongside with scratch media that are exported. I am already testing some workflows, but the main problem is that I cannot find the correct operation to list the tapes in a specific Media group or in a specific library. I searched on the documentation as well but couldn’t find it, does someone alredy know the correct operation that I need to perform? Hope you can understand my writing. Thank you all in advance.
Hi Everyone, IHAC who is about to consider our product to develop the backup service portal using REST API.This customer is a Cloud Service Provider and wants to to integrate CVLT backup with their existing service.So they’re asking us several questions. - Is there a dedicated internal team/person for REST API support service? : paid or free? - For feature/function doesn’t have sample? : CVLT provides lots of sample codes for use but what should we do if some feature/API doesn’t have a sample? - Technical support plan for REST API : If customer encounters errors how can customer be supported? (open a ticket as usual way or another?) And kindly let me know who can i reach out to about REST API relevant query.Thanks.
Pretty straightforward question, I have a number of workflows that I have inherited and some end with enduser session, rather than workflow end.thanks for any help.
Hi there, I have a simple question. How to change "Initiating user" for a workflow.I am digging through the documentation without success. Do you know it from the top of your head? Cheers!
HiIt would be great if the following was possible:For a Storage Policy Copy to be able to Filter the Subclient Associations for a Copy by filtering on a ‘name’ (or other parameter) It would allow for fewer storage policies to be created eg a single Storage Policy would allow a Primary a Secondary for example, for all the primary subclients but various other Secondary Copies could be created (aa) Secondary_Copy_Send_to_Worm_Drive (bb) Secondary_Copy_Send_to_Azure (cc) Secondary_Copy_Send_to_AWS and ‘filter’ rules could be used (Even if it was only based on subclient names) as to which subclients can ‘use’ which Secondary Copies (Yes - this is possible via qoperations, but very messy)
Is it possible to set the Client Monthly Growth Report to update the data not only monthly but daily ?Somewhere there should be a schedule, which is set to monthly transfer of the data.with kind regardsThomas
I want to user authentication when sending mail in Workflow. how can i set?
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.