Platform Release Webinars (July 2026): Commvault Cloud SaaS and LTS 11.44
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
Does anyone have a quick rundown on what methods to use to set the httpclient methods and execute?I know it goes something like so : import commvault.cte.workflow.activities.HttpClient;def httpclient = new HttpClient(); But then what next? How do I set the http method, headers and, and url?
Hi,I’d like to enable parallel backup config for PostgreSQL databases. I can see I can modify the parallel dump based back up set config to enable parallel backups, but wondering if the default dump based backup set config can have this feature enabled by default?I don’t find any related article about it.For reference, this is the attribute I’d like to get enabled by default:https://documentation.commvault.com/2024/essential/using_parallel_jobs_to_dump_postgresql_database.html Thanks,
I am working on a code to fetch all jobs for a spesific client group and count each job status so that I can preprare a report to display all jobs status for the last 24 hours. But “lookup_time” is not working as expected, less job fetched. Even changed the time for the lookup_time with different hours but the output is alwasy the same. I think lookup_time is not working as it should. Do you have any idea why it is not working ? jobs_last24hours = job.finished_jobs(client, lookup_time=24)
I am working on automation which installs SQL iDataAgent on new clients and also creates AG (Availability Group) Instance.I have found this API endpoint to push install the MSSQL iData Agent on the servers but I can’t find an example of creating AG Instance via API.
All,I’m looking for some guidance. There is a report that can be installed from the CV Store that claims to show “Active Jobs” and it does so, but only backup type jobs. Is anyone aware of a report like this but that shows Administrative type jobs as well? Essentially what I’d like to do is create a custom dashboard that would show any jobs that would be running in the job controller plus some other data/metrics. I want all this data to come from the Metrics Server’s CVCloud database. The table is there for the Admin jobs, so I know the data is there. I unfortunately don’t know anything about the report builder and/or MS SQL to build a customer report. It would be nice if this came as a canned report, but I haven’t found one. Thank you in advance for any and all guidance/input. Adam Davenport
Hello All,Does Commvault have integration with Humio? Thanks in advance Regards
Hi Team, I'm very new to the Rest API, but I was only able to create an authtoken :) As far as I learned, when the authtoken is created, the max. It can be used for 30 days. After this period, it is necessary to create a new authtoken and use the new authtoken. We are thinking something like this, Is it possible to do this?We are trying to create a powershell script, this script will create a new authtoken every time it runs and will automatically use the new authtoken, then we will be able to GET the information we want from Commvault. Rest
Hello Vaulters, I have been to automate schedule policy delete using by calling the API using the syntax on the document but I keep facing error, does any one have an already executed script or guide and how to achieve this?
Hi! I am trying to add a VM Filter via API for the Backup Set - how to achieve this via API?
Hi,is there any option available to use Microsoft’s Group Managed Service Accounts as Service Account to add a Windows User Domain to Commvault ?Meanwhile regular Service Accounts require to change their password from time to time which always leads to problems with Commvault User Authentication ….BRKlaus
Hi Team, I want to see schedule policy which is assigned or which ran for a VM backup job. From ComcellBackupInfo, i am able to get all the details related to Backup job but only schedule name is not available. Is there any other databse or table using which we can fetch this information.
Is it as simple as create an XML representation of the entity list? I have been attempting to create it via Java with strange results.
For those that don’t want to spend a lot of time trying to figure it out, I just figured I would post the basics and then you can have fun exploring for yourself. It’s not pretty, but should get those not familiar with using the REST API with PowerShell a good base to start. You’ll want to secure the credential section, this is just basic of the basic. It’s not pretty, but should get you started with REST API. You will need to fix the following in the script below: YOURWEBURL:PORT - Needs updated to your URL and port (if applicable) ###USING COMMVAULT REST API COMMANDS#####################################################################################################################https://YOURWEBURL:PORT/webconsole/sandbox/apiexplorer###https://documentation.commvault.com/2023/essential/rest_api_overview.html###SETTING UP THE VARIABLES FOR TOKEN REQUEST############################################################################################################$contentType = 'appl
Hello Community, How do I get started with automation on commvault?What are the pre-requisites and basics steps to installation?For those using Ansible to autmoate on commvault is this preferable than performing operation directly from the commcell console?
Hello, I’m trying to restore (out of place) a file list from a vmware guest in python but i got a failed job. client is installed on the machine for restore only.Here is my code :from cvpysdk.commcell import Commcellwebconsole_hostname = "v-commserve-1.xxxxx"commcell_username = "xxxxx"commcell_password = "xxxxx"client_name = "v-xxx-2"destination = "/tmp"overwrite = Falserestore_data_and_acl = Truecommcell = Commcell(webconsole_hostname, commcell_username,commcell_password)client = commcell.clients.get(client_name)agent = client.agents.get("Virtual Server")instance = agent.instances.get("vminstance")backupset = instance.backupsets.get("defaultbackupset")subclient = backupset.subclients.get("backup_bronze")paths = [ "/etc/hostname", "/etc/mailname" ]restore_time = "2024-01-15 00:00:01"job = subclient.restore_out_of_place( client=client, destination_path=destination, paths=paths, overwrite=overwrite, restore_data_and
Dear allLooking for input to validate:Commvault Cloud is compatible with Canonical OpenStack (version, documentation url)? CHARMS can be leveraged to automate deployment (documentation url)? I understand there’s an Ansible CVLT module to automate deployment - GitHub - Commvault/ansible: Ansible Library for Commvault.Thank youdimos
Ok, So I am passing two string variables to the Logevent activity.One for severity, and one for status.And its throwing the following : I did no such thing Apparently it’s expecting a “SeverityLevel” object. It’s expecting a severity level object?The wierd thing is that I have done this before without a problem so I don’t know what the issue is. I can’t get Jiggy with this someone help.
Does anyone have experience with creating Reports in Command Center using RestAPI?When you schedule a Report in Command Center you have the possibility to have it give you the RestAPI equivalent.By modifying that code to our needs (e.g. different Report name & recipients) we want to create Reports “automatically” with the API.As we need to create many Reports quite often (as we run a Multitenant environment) a potential API usage would save us a lot of time.When I try the POST command with the adjusted JSON payload to the URL mentioned (see screenshot below) it doesn’t work, no error, just nothing happens, so I’m wondering if there is something I’m missing.
Hello team,I use Commvault REST API to grab “Number of spare media” of tape libraries as per CV Bol motioned below so we can be notified if spare media is below the threshold that we set in the Python script. https://documentation.commvault.com/commvault/v11_sp20/article?p=48994_1.htm The Python script for CV rest API that I created is running fine and we are getting reports daily with all the required info that we need (e.g. library name, total/available space, SpareMedia count, etc…) Issue:I come across an issue where our Aux copies job stuck in queue due to lack of spareMedia and end up that is Commvault REST API doesn’t reports accurate SpareMedia Count with the request syntax that outlined in your BOLhttps://documentation.commvault.com/commvault/v11_sp20/article?p=48994_1.htm numOfSpareMedia Tape library total number of spare media. tapeLibSummary Findings:CV BOL Rest API only returns the result at root level (tape library summary ), but the accurate Sp
Dear all, I need some help, the client is requesting an automated process for installing agents in commvault, so that on boot he can call this through a package configuration or something like that so that as soon as he starts the VM everything goes up the automatic installation, does commvault have any process of this type? It also needs this configuration for the commserver and media agents. Does the commvault tool have this type of automation?
Hello All,Our Transaction log backup get pending sometimes due to broken chain, then IT converts itself to the FULL backup and It effects our systems during day. Is there a way to kill or suspend job when transaction log backup Converts to FULL? or is there a way kill/suspend when backup job gets pending?
I am using API to remove a subclient from backup policy. Can anyone help me understand the difference between what the exclude and remove endpoint do?
Hi. I have a workflow in which I am creating a dynamic PopupInput. Here is some pseudo code similar to that what I am using:import commvault.msgs.App.XMLSchema;import commvault.msgs.App.InputControlType;XMLSchema input = new XMLSchema();input.setDefaultValue("Default"); input.setInputName("INPUT1");input.setHidden(false);input.setListType(false);input.setControlType(InputControlType.TEXTBOX);input.setDisplayName("Display Name");input.setRequired(false);activity.getForm().getEntries().add(input);This works well so far. But I am struggling to get the output of the PopupInput because the entry “INPUT1” seems to not exist. I tried a few things within a “Script” activity or even in the OnComplete Script of the PopupInput. For example I iterated through “activity.getForm().getEntries()” but the entry “INPUT1” did not exist. But nothing has been working.Does anybody know how to get the value of my entry? (Remember: That is just pseudo code. In reality I am generating many input fields comple
Hey,we updated from 11.28 to 11.32.38.We have Monitoring Check for “Backup Copy” Jobs, and after the update to 11.32 not working, because via REST API Endpoint the “Backup Copy” Jobs are not shown anymore.Endpoint: https://<serverURL>/webconsole/api/Job?clientId=62On 11.28 the “Backup Copy” Jobs were show beside all other Jobs for the Client, but on 11.32.38 it is not shown anymore.On this Forum Topic:, it was discussed for 11.28 as an issue and could be workaround by adding:&hideAdminJobs=false to the APi Call, but this doesnt help in 11.32→ no Backup Copy Jobs are shown.Can this be checked internally with Dev Team if there were a change or maybe known issue?Thx & Best RegardsMarcel
Hi community. I would like to know how I can dynamically create a PopupInput with java code. Example use case: At first I fill a variable (list) with values (e.g. from a db query). Let’s assume the value of this variable is: Value1, Value2, Value3. Now I need to ask the for information for each single value with a PopupInput like in the screenshot below. I would guess that I need to start like this:import commvault.cte.workflow.dom.WorkflowElement;WorkflowElement PopupInput = WorkflowElement.parse(... But honestly I have no idea how to continue from here on. Best regardsPasqual
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.