Platform Release Webinars (July 2026): Commvault Cloud SaaS and LTS 11.44
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
Hi! I am working on VM onboarding PS automation for CV, and I can not find the way how to trigger backup for 1 specific VM (which is final step for onboarding process in our company)The only solution I found is: Backup-CVVirtualMachine, but unfortunately it returns me 404 error.Other ways allow to run backup for Backup Sets only which is not ok for me 😐Is there any other way I missing?Thank you
Hello All, I working with API connection. I would like to receive where is located VM backup JOB by API. I can get job ID for VM, but I can’t received which copy store that data from storage policy. Good question how I can get it?
We are trying to remove the instance with API , however we cannot find any endpoints on the swagger .Could you please guide us to deal with this. ThanksSatish
Hello,in a workflow for automated mail restore from a Exchange DB, I need the parameter folderTag and mailboxTag. How I can request/get this values for a specific user from a recovery point? As part of the recovery point creation and mining, I can see the edb file info and folderTag/mailboxTag of user within the Exchange database, in the Commvault logs… but the logs roll over, so no source to grab the parameter for the specific user. Thx, Kay
I’m new to REST API and the Commvault API Explorer and my first tests fail.At first I’m creating an authorization token using the Sandbox:Then I switch to the API Explorer and open the login (using the lock on the right hand side) and paste the token I got before:I try to get a list of plans using the “Get List of Plans”: I’m getting a response with an unknown response code: In the console of Edge are two errors reporting violations of CSP directive: The same happens using Firefox: I was searching the web for this CSP violation, but I could not find a solution.Is there anything I’m doing wrong? How can I get the API Explorer working?
I often have a wizard-block defined with a process-block in order to make my workflows clean.The problem is that the workflow end activity doesn't actually kill the workflow it just exits the process block. Is there a way to kill the entire workflow from within the process-block?
If the "Server Retirement" workflow was run on the wrong server and approved, how can the workflow be cancelled?
Hi,I am trying to modify alerts assigned by default to admin user and master group to some other users/groups. I have found another thread where @Venu Kondabhathini suggested using API. I am trying to use JSON file fromhttps://documentation.commvault.com/2022e/essential/rest_api_post_alert_modify.html But when I am trying to load this it gives me an error:$body = Get-Content -Raw -Path $pathToJSON | ConvertFrom-JsonConvertFrom-Json: Conversion from JSON failed with error: Unexpected character encountered while parsing value: }. Path 'alertDetail.alertDetail.appTypeFilterList.appTypeFilter[0]._type_', line 15, position 16.I am using Powershell. Is anyone using this? Is this file broken?
I am using http request in workflow which is in running in loop to run vm level backup. as an output it returns output for each http request as show below [{ "taskId":250501,"jobIds":[ "21035126" ] },{ "taskId":250502,"jobIds":[ "21035127" ] I want to fetch the jobids from this and add it is list. How can this be achieved.
Hi,We are trying to create a role for a specific user that only needs to do remote qlogin from a linux client computer and triger a backup for the same client.What will be the minimium required CV priviliges to do it ? Thanks
Hello everyone,I’ve to protect a two node SAP HANA database.The floating IP is managed by pacemaker cluster framework.After install the SAP HANA agent on both servers, have I to configure a Unix cluster client and use the host cluster name, referring to the VIP, into the SAP HANA pseudo-client instance host details? Thanks and regards
I want to run one script on linux client, if success them trigger backup job, could you guide me how to select linux client in workflow?
Hello, I’m using Commvault v11.32.28.In building some custom Python scripts that utilize the API I’ve found an endpoint that seems to be broken, or else I’m not using it properly.The endpoint is: /V4/Storage/Tape/{libraryId}/MediaMy understanding is that this is supposed to return media associated with a specific tape library. The “/V4/Storage/Tape” endpoint works, returning details about my library.But “/V4/Storage/Tape/{libraryId}/Media” gives me a status 200 (success), but no data.Is anyone else out there successfully gathering media details from the API?
Hello, I need to move CV SQL Tempdb to a different drive.I’ve found in the documentation there is a SQL Server Relocate TempDb workflow, but I’m unable to find it on the CV store.What I’m doing wrongThanks and regards
We have a customer who uses commvault mail archive system and when they try to use outlook addin they says it was be crush the outlook session , and when they try to download archived e mail thay took a certificate problems . Is commvault have a updated new add in of this solition or how we can fix theese problems
Friends, Version 11.28.89 I need to update the hostname on a bunch of clients, so I try to do this via Set-CVClient as described here: https://documentation.commvault.com/v11/essential/101881_set_cvclient.html But eventhough I receive errorCode 0, it seems that nothing is done. Can anyone tell me what is going wrong? Thanks in advance,Maurice van ‘t Loo PS C:\test> $clientprops = Get-CVClient -Name TESTSERVER_INST01_AGClientPS C:\test> $clientpropsName Value---- -----clientId 5193type 3clienthostName TESTSERVER_INST01_AGClientclientName TESTSERVER_INST01_AGClientcvdPort 0clientIdGUID B07D5C10-663B-41D4-8B81-A9CC77087D63PS C:\test> $clientprops.clienthostName = 'TESTSERVER.domain.nl'PS C:\test> $clientpropsName Value---- -----clientId
I am using the CV Powershell module found on GitHub - Commvault/CVPowershellSDK: Developer SDK - Powershell. I can successfully log into our Commvault server and run get-cvjob commands just fine so i know it is authenticating and working. What I am having trouble with is using the command Get-CVSchedulePolicy. When I just run it by itself, I get the output INFO: Get-CVSchedulePolicy: no policies found. I have a ton of Schedules. My goal is to disable an existing. Schedule Policy using the command Disable-CVSchedulePolicy. I am using an account that has full Commvault permission, and I can do this in the Commcell Java client just fine. What am I missing trying to see all the existing Schedule Policies and then disabling one of them via powershell? I looked at this Get-CVSchedulePolicy (commvault.com) and tried various swithes. Please help.
Hi Vaulters,I am new to Commvault and I am trying to use REST API to install DB2 on a client computer. This is what I have done and found so far:1.I first used XML file generated by “Save as script” in Commcell console installation process and the JSON version of it, and used /InstallClient API which, according to the REST API reference, installs packages on a new client or an existing client. However this only gave a 500 error and no more information was provided. (The file is attached as File1.txt)2.Then I tried to imitate the json sample given in the API reference of /InstallClient (https://documentation.commvault.com/v11/essential/130184_rest_api_post_install_client_associations.html) but the same 500 error code was returned. I think there are many important fields for DB2 that are never covered in the API reference. (This json request is attached as File2.txt)3.After combining the content from 1. and format in 2., I somehow wrote a request accepted by the system and a job was laun
We recently moved from on Prem email to cloud, and with the move the deleteClientAuthorization workflow stopped working. I know we have to reconfigure the Email Approval settings (image below) but not really sure what server to define there. Tried outlook.office365.com and made sure the account we are using has IMAP enabled but still doesn’t work. Anyone here has this configuration on their environment? Any other tweak we need to change on the user account/user mailbox for it to be able to login using IMAP?Appreciate any idea that anyone thinks be helpful in this scenario. Thanks in advance.
Hi https://documentation.commvault.com/2023e/expert/GetAllRunningJobs.htmlI want to filter the output for the qscript to get all running jobs. DescriptionGet the list of running jobs (backup, admin, restore) on the clientsUsageqoperation execscript -sn GetAllRunningJobsscript_name :GetAllRunningJobs The document doesn’t have much details to it. by OperationType - backup/ restoreby Client - which has %prd% or by ClientName - ‘abc001’ Is there a way to achieve this?where can i get the list of valid options / filters that we can use with qscript. ?
Hi!We’re currently running a .bat script to do some simple copying of files to another destination, and we’re in the process of updating this to a powershell script, that basicly does the same, but does some additional checks and such first. I’ve verified that i can run the script manually with when i’m logged in as the user specified in the “run as user” But when i run a disaster recovery backup, i get the followig error: Error Code: [7:78] Description: Unable to run [C:\Path_to_Script\Name-of-script.ps1] on the client. Internal Error [150995005] in CVSession while communicating with remote host [Remote system [FQDN of Commcell server]. Remote execute request returned error: [].]. [] Source: commcellserver, Process: startPrePostCmd Anyone know what could be the issue here ? As far as i can see/understand, there should not be any “Remote System” ?
Hi,I have a question regarding register a client with RestAPI.In our environment we install by default a decoupled file system agent on each client.In case we need the client to register (e.g. for additional agents), we register the client via Console and fetch the configuration from the client. Additionally we have a script, which can do the same. This script is using qcommands.Since we are planning to migrate all of our scripts to use RestAPI instead of qcommands, we are looking for a method to perform the register via RestAPI.I saw, there is a function for POST Install Client, but I didn’t get it running to do the registering only.Do anybody has a clue how to perform a register and fetching client info only?I tried to check that Command Center and have a look on the “aquivalent API”, but it seems a register only isn’t implemented there. Also in the documentation there is described only how to perform via Console and SimCallWrapper.Maybe somebody has an idea :-)Many thanks in advance
Hello,In my WebConsole of CommVault, we have 4712 Kubernates applications.So, in Databricks, I’ve written this codeapplicationCount is 5757.Now, the json returned is made from 2 keysapplicationCount that is an int applications that is a list of dictionariesso, in json_kubernates I should have 5757 dictionaries, instead I’ve got 100.From API documentation, there is no pagination and about the user we tested it between master user and my user they can see the same clients. Can you help me in understanding why it is doing that?
I’m integrating CommVault API in order to have all client ( VM, client which make backup and Kubernates Application) in a single dataframe./client route returns hostName,clientName,displayName/VM returns several information of which returns clientName,displayName but not HostName/v4/Kubernetes/Applications return several information of which name but not displayName and HostNameWhile I know that a VM may not have a phisical hostName and kubernates Applications may not have an hostName since it’s dockerized containers, it is possible to have the hostName for Kubernates and VMs?/client has all 3 name columns(hostName,clientName,displayName)/VM has 2 name columns(clientName,displayName)/Applications has only one name column (name)Or, I can do the assumption thatVM Client Name can be added to hostnameKubernates application names can be considered as HostName?like hostName = clientName = name ?Thanks for all the clarification
I am trying to create a workflow to run multiple VSA backups through workflow by just selecting the client from the list. For VSA backup it is not working. Same is working for File System level backup. Is there some limitation to run for VSA backup? If yes, what is the easiest way to achieve this. Tried from Rest API as well but we need to give vm name and client name which becomes a bit complex.
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.