Platform Release Webinars (July 2026): Commvault Cloud SaaS and LTS 11.44
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
I created a tag set in order to be able to create groups based their tag value, is this possible? I cannot seem to see a way to do it.Clearly I am not getting the logic behind the tagging system.
Hello, Someone knows a Manual with the commands for create reports ? Thxs,Daniel
Hello,I’ve tried to create a workflow that:run a saved report sends that report in a emailI have little experiance with workflows and I haven’t been successfull in my tries. I don’t even know if it is possible to do.Is there anyone that have done it or know how it can be accomplished? Attached is a view of my current tries, though not successful. Thanks for any help.
HiI’m trying to deploy Acess Node for VMware using API but can’t seem to get this to work.I’m using this: https://api.commvault.com/#f9950083-6ef5-487d-9b32-d332b843b64cwith powershell from Commserve computer. I was able to successfully aquire QSDK Token, but when I try to deploy AN I get error:Here is TaskManager.log fragment:9456 1 01/13 16:09:11 ### ### ControlTaskMgr - Request received for [Tag_CreateTaskReq], userId [5], commcellId [2], sequenceNumber [1], fromUpgrade [False], endUser [False]9456 1 01/13 16:09:11 ### ### ControlTaskMgr - Input xml <TMMsg_CreateTaskReq> <processinginstructioninfo> <locale _type_="66" localeId="0" /> <formatFlags skipIdToNameConversion="1" /> <user userName="" userId="5" _type_="13" /> </processinginstructioninfo> <taskInfo> <subTasks> <subTask subTaskType="1" operationType="4038" /> <options> <adminOpts> <vmProvisioningOption operationType="59"> &l
Hi,I am a very beginner with workflows and I am facing my first problem:I want to run a backup for all subclients for a specific client beside a subclient “test” via workflow.So in this example at the beginning of that workflow I manually choose a client.This client has serveral subclients (e.g. “data1”, “data2” and “test”).The discover of DataAgent, BackupSet and all Subclients works fine, but with which activity in the Workflow Designer can I exclude the pattern “test” in the list of subclients?I’ve tried the “RemoveFromList” but without any success (or maybe I used it the wrong way).Do you have a clue?BR
Hello,I’m used to use your API, but in this case, I can't get what I want 😪Use case : Before perform a single file restore operation, I need to see all versions of a guest file for a VM backuped without agent (agentless) .I use the DoBrowse API, but I have no usable results.{{ServerUrl}}/DoBrowse (POST) with body:}{ "opType": 0, "queries": [ { "type": 1, "queryId": "countQuery", "aggrParam": { "field": 0, "aggrType": 4 } }, { "type": 4, "queryId": "dataQuery", "dataParam": { "sortParam": { "ascending": true, "sortBy": [ 38, 0 ] }, "paging": { "firstNode": 0, "pageSize": 15, "skipNode": 0 } } } ], "mode": { "mode": 1 }, "paths": [ { "path": "\\50003816-5EF5-1648-8ED1-0FD0B08F024C\\var\\log\\cron" } ], "options": { "showDeletedFiles": true, "restoreIndex": true }, "entity": { "subclientI
Hi,I'm trying to save a Vm in V2 indexing by the VmGuid. I can't find a samples.The only article is the one :Samples for the Developer SDK for Python (commvault.com)Can you Help me please ?Thanks
Hello everyone:I'm having some problems finalizing my scripts.Someone already made a script to create VMs on vmware?Of course I removed the login and mdp of my vars to show you.The beginning of my script works for the commserv connection.It is the creation of the VMs that does not work.Can someone help me ?
Hello, is it correct that the report “Merge Duplicate VM Clients” shows only duplicated VMs?Some time ago I was able to see all duplicates:VM - VM VM - FileSystemNow the report doesn’t show duplicate VM - FileSystem clients, in the console I can see them.Tested on 11.28.37 / 11.24.69 with the APP from Download. What would be the way to identify duplicate VM - FileSystem clients?Merge only by CLI? ThanksSergej
Hello Everyone,Hope you are all doing well. Has anyone worked on restoring a full VM from Azure to Azure with Commvault using automation. Here’s our scenario, we have VMs in Azure and commvault backs them up in Azure (cold storage blob) and with commvault we have restored VMs in another vnet successfully. Now I am working on researching if we can automate most of the steps. We created an isolated environment in Azure thru terraform, so that’s automated, now I want to automate restores thru code either by workflow or scripting, has anyone done this before? Can someone please help me in this regards. Thank you.
Hello guys.I'm trying to find an API to create a secondary copy of an existing Storage Policy.I need to create this copy as a Global Secondary Copy Policy to use a Storage Poll that already exists.When I call the '/V2/StoragePolicy/35/Copy' API with the parameters $data = '{ "copyName": "2-CP-TAPE", "useGlobalPolicy": { "storagePolicyName":"SPOOL-TAPE-1WEEK" }, "storagePolicyCopyInfo": { "active": 1, "isDefault": 0, "extendedFlags": { "useGlobalAuxCopyPolicy":1, "chunkLevelAuxCopy":1 }, "library": { "libraryName":"TAPE-VIRTUAL1", "libraryId":3 }, "mediaAgent": { "mediaAgentId":2, "mediaAgentName":"wzsp2-csnfr" }, "storagePool": { "storagePoolName":"SPOOL-TAPE-1WEEK", "storagePoolId":18 } } }';I get the following message{ "processing
We are trying to create a restore Task via REST-API with the user having Master rights; but getting error token as unauthorized error -- GET /CVWebService.svc/Subclient/***** : HTTP code 'Unauthorized' any suggestions, how to resolve the same?
We are looking to automate Commvault IDA agents Installation and client settings configuration such as encryption, dedupe , storage policy , filters , schedules , database subclient settings such as oracle home, path etc. .Does anyone has custom workflows deployed for agent installation and client configuration ? if yes please share .Also , what is recommended way of achieving this ?Is it possible to achieve 100% configuration for client through RestAPI ?
Hi Team,I am not able to access curl -X 'GET' \ 'https://<webserver>/webconsole/api/v4/Servers?showOnlyInfrastructureMachines=1' \ -H 'accept: application/json'Getting “Access Denied” while using it.When try to access the same using browser , it asks to login and then it works. However, when we pass username and password in curl. I get “401- Unauthorized”.Can you help with the correct syntax using curl?
Hi - unless I’ve missed it - is there a way to add webhooks to commvault via the API?
CV has kincly provided a pre-built client deletion authorisation approval workflow for virtual machine clients.There isn’t a pre-built workflow for objectstore clients (e.g. Azure FIles objects) - I’m wondering if that’s because it’s not possible or it’s just not a popular request(!) - has anyone done anything with this/can comment on whether it’s possible?Thanks.
I am trying to use the qlist job command to return the running jobs for a specific subclient. Using a command structured like the one below it always returns “No jobs to display” even though a simple “qlist job” command returns results. What am I missing? qlist job -c 'clientName' -a 'Q_VIRTUAL_SERVER' -i 'VMware' -b 'defaultBackupSet' -s 'subclientName' -cs 'commserveName' -jt 'admin'
Hi All,I have a bit of a challenge on my hands. I’m migrating a customer to the new SharePoint agent, but I cannot seem to find a way to effectively select the needed content. The situation is as follows the customer has 51K sites, but most of them are created by students, and should not be part of the backup. So we only want 1300 in the backup. In the previous agent I could do some magic with regex to make this happen. But I do not see a good solution in the new agent.Both the Mail and OneDrive agent give me the opportunity to work with groups, but the SharePoint agent only has all sites, all group sites and project sites. Or i have to click 1300 sites which is not feasible, I also looked of a json to do this, but ne new agent does not take the json format of the old agent so that does not seem to be a solution as well. Anyone have any idea how I can do this, and possibly automate it so we can update the site content occasionally?
Hi all I have a customer who’s dashboard doesn’t report on a number of fields. Running the reports for each component also brings up empty results, as expected.I had a look at the possibility of Branch Cache running as per another post here on a similar issue, but it isn’t installed.I staged the Commserve in my lab and reporting is correct.The customer is on FR11.21 and the lab version is FR11.28.xxI don’t think this would be a fix as I believe the issue has been around for some time.Below is the client view: Below is the view in my lab:
Hello Community Issue: I’m trying to schedule mssql db clone via Command center, and there is no such option.Looking to clone db via CV API or Sending QCommands as a API Json request Tried:While manually creating mssql db clone via command/admin center, noticed there is a Json Post Request Payload for instance clone. Search in CV BOL, and nothing but how to View DB Clone via .py scripthttps://documentation.commvault.com/11.24/essential/45532_samples_for_developer_sdk_for_python.html#viewing-instant-clones Questions:the db clone has a payload request, from where I can find the related Post Request Syntax (example: 'http://<webserver>:port/SearchSvc/CVWebService.svc/databases/Action_XXX/clones_XXX') for mssql DB clone, thanks OrSending QCommands as a API Json request CV Syntax example is for XML and I want to make it work for Json.Can I use ‘inputRequestJson’ to get Json Request Payload that shows in above screenshot? https://documentation.commvault.com/2022e/essential/48618_
Hi, This question is for the workflow guys.We created a workflow which monitors certain running jobs, which is scheduled to start every day, in the workflow there is a condition which ends the workflow when there are no running jobs and a loop which executes every 5 minutes to check the status of the running jobs.In some cases, our jobs running jobs takes too long to complete, and we want to force our workflow to complete when reaching certain hours (For example 01:00 AM) even if there are still some running jobs. My question is, is there any way to make the workflow run for a defined interval of time ? Here are what I’m thinking of so far :Inside the workflow, before each iteration of the loop, check the time and if a certain time is reached, the workflow completes. For this one, I don’t know if the workflow editor offers the tools to implement this, or should we make it execute a script that we have to create manually from scratch. We have also the option to make it run for certain t
IHAC using NetApp storage as Library mount paths, not supporting Sparse Files.Without Sparse File support, we cannot accurately calculate the usage of mount path data, but this is expected as normal cases.But this MSP customer, they’re still using BET charging to tenant users (I tried to eliminate this for couple of years but not succeeded yet), requires how much data actually occupied.It’s simply not easy and impossible to get accurate data, especially under DDB utilization since Commvault is retaining only the stats for non-aged jobs, so quite difficult to accumulate how much is written/purged as of now.Still we can retrieve rough image of usage from Commvault logs, from DDB Verification job results.After running DDB Verification, we can get reclaimable stats at a log file named DDBMntPathInfo.log on MA server(s) like (this is actual data at customer's site): 9601 2581 10/31 08:06:34 22551699 ====================================================================9601 2581 10/31 08:06:34
Background story:IHAC who upgrade VMware environment (from 6.0 to 6.5), copy VMs from old environment (vCenter/ESX) to new, so need to change Commvault side to change access path to vCenter at client level. Problem here, one VSA client has multiple subclients which contain some VMs as contents, these VMs are not migrated at the same time, so we cannot change vCenter access path until we migrate all VMs to new environment, because of that there's a request to copy subclient information "one-by-one" to new VSA client (how to retain job sequences would be another topic, slightly complicated per Index versions). We can achieve this by creating new subclients on new client one-by-one by specifying all attribures (contents, configurations, etc.), but some of clients have over 100 of subclients each, so requested automated approach, which could be Commvault Workflow.Major problems on Commvault automation to create subclients,We're not officially provide exact parameter to generate a new VSA s
Continued topic from Community Topic #10 VSA subclient information #1As we can copy VSA subclients from one VSA client to another using tricky and slightly dangerous approacy utilizing Clone CLI, unfortunately there's another issue that we cannot clone individual schedules (not schedule policy settings, this would be cloned).To achieve this, we need to modify CSDB again.Basically schedule information is stored in TM_Task and TM_SubTask tables, but other tables started from TM_ also be involved.And another thing is, the format to generate schedule is quite complicated so cannot easily mimic the behavior, so I took an approach to copy all records to new schedule at SQL level.Digging a lot, we can achieve like this:List up all schedules per subclient. Create dummy schedules on this subclient (this can be done by creating simple schedule on CommCell Console and retrieve parameter XML file from "Save As Script"). Replace the schedule "contents" with SQL queries.Workflow images like this:Lis
Hi,using the “cloneVM” activity in a workflow fails. The workflow Inputs of HttpClient Inputs of CreateNetwork “On start script” on the first delay The inputs for the clone activity The clone job The logs: The error is same if I:Used the vmGUID only (without the vmName) Used the vmName only (without the vmGUID) Tried the vmName or the vmGUID constants not variables
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.