🚀 (Updated) Proactive Advisory: Upcoming Microsoft Transition from Exchange Web Services (EWS) to G...
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
There is a test VM we created to test the script but it not being fetched while all the other VMs are being fetched the only difference is test VMs are not added in the domain
I am starting to approach the use of APIs in the Commvault environment.The goal is to extract a customized report created in the Command Center (Custom Report).I have created a script that performs the login in the Command Center, and it works correctly (Script name: Login.py).Next, I created a script that performs the login and then a GET request using the token received from the login (Script name: Get Report.py).The URL for the GET request was taken from the Command Center by selecting REST API from the report.I am attaching the listed scripts. The error I receive is as follows: /Get Report.py" Login successful! Authentication token: QSDK 393e4984a1a254f623019e8c20e221d0f3e04615ffde8c020f3aa3df4e67cf75efd3e01f34d86367be3e03948a9081e2177d34579743df1520bec81a0470b432be5345b3b75b548efbf61e02112b9026e4ee1db4b76c047e4844aca40ec0822e5d23124a0329d432af7ee137154079b4bf2b4815a1bc056fd73a9585a5dd2bd74f941c640faf0f99e38596fa6c25a4292bf03c2dedb6f135d56641413777c625c0682de01a558d7ce52886737e47cd
hi,i am trying to delete a storage policy copy.When I delete it starts a workflow but I don’t get emails and the job keeps failing.I was trying adding approvers on the workflow but can’t seem to get it working. below are the errors, any help would be great. ApproversCount></ApproversCount><restrictedWorkflow>true</restrictedWorkflow><requestXML><App_DeleteStoragePolicyCopyReq><processinginstructioninfo><user /><locale /><formatFlags /></processinginstructioninfo><commCell /><archiveGroupCopy /></App_DeleteStoragePolicyCopyReq></requestXML><RequestType>Delete StoragePolicy copy</RequestType><INP_OBJECT>XXYYZZ</INP_OBJECT><INP_REQUEST_XML_TAG>App_DeleteStoragePolicyCopyReq</INP_REQUEST_XML_TAG><INP_ERROR_CODE_TO_CHECK>string(/App_GenericArchiveGroupResp/error/errorCode)</INP_ERROR_CODE_TO_CHECK><INP_ERROR_STRING_TO_CHECK>string(/App_GenericArchiveGr
Hi, We have around 500 clients that backup a specific directory with a short retention. We now need a longer retention for a specific folder (10 years). As we can’t have different retentions for different folders in a plan, we need to create a second subclient on every existing clients and associate it with a long retention plan.I’m trying to figure out if there is a simple way to mass create those subclients at a client group level or if I need to script it with qcreate or Rest Api commands.
Just creating and testing The Virtual LabEverything works fine except deploying the OVA to have a proxy runningThe OVA is not deploying and when I make it an OVF the same problemSo the question is : I can see it is a CENTOS server, is there runinng the rdp gateway solution on itThen I can build my own proxy and have access to the restored server from an external network has anyone some details over this OVA template, about how to deploy it OR how this proxy is build, so I can build it my selfThanks and Regards Gerard
Hello.These are two technical questions, my colleague in charge of security is receiving a notification of a vulnerability in Apache, the following:CVE-2023-46604: Apache ActiveMQ OpenWire Transport Remote Code Execution VulnerabilityAnd he has the doubt if this also affects Python.And the second question is that we have three versions of python installed on the server where commvault is hosted: python 3.6; Python 3.9 and python 3.11.Are all three essential for commvault to work or can we uninstall two and keep only the one that the console is using?
Experts, when sometimes the customer rely on a customized third party orchestration platforms like SIEM and SOAR platforms that specialize in security incident response.not the standard SOAR platforms we integrated with. Is there any guide for showing how our platform integrates with the customized SOAR or SIEM tools and provides the similar incident response and orchestration abilities? thanks in advance.
I created a subclient in my file server and backed up a file (C:\test\test.txt). I then attempted to use API to download the backed up file but the server always returned 404. Anyone knows how to use the API?The request i made is like this:https://api.metallic.io/stream/action/download?appid=<subclientid>&path=C%3a%5ctest%5ctest.txt Thank you in advance.
Hi! I need help with the CLI command for CommVault status in Windows.I need to know which commserve the installation is pointing to.
I am using below api endpoint and updating the filters of the subclient:https://api.commvault.com/docs/SP32/api/cv/SubclientOperations/update-subclient-properties/ "vmFilter": { "children": [ { "allOrAnyChildren": true, "description": "", "displayName": "Ans_Jen_serv1", "equalsOrNotEquals": true, "name": "553b108a-dbc8-b7cv-e69n-e35622f6gh70", "path": "Ans_Jen_Saurabh", "type": 9 }, { "allOrAnyChildren": true, "description": "", "displayName": "Ans_Jen_serv2", "equalsOrNotEquals": true, "name": "503df9ca-c7ca-e09b-333d-fc0787a5c9d0", "path": "Ans_Jenkins_Vishak", "type": 9 } ] }, I have updated the payload with the vmFilter children in which I have updated the content and remove Ans_Jen_Serv1. It did get updated successfully. Below is the updated payload when I printed:"{\"c
I need an API endpoint to remove backupsets, clients and vmdk from filters of the subclient.Commvault version 11.32.43
I have pulled the retention details of the VM client via api. It is in unix epoch time so I had to convert it to human readable format. The datetime on commvault GUI and API is different.Below information is fetched via API:Unix epoch time: 1728697951Retained until: 2024-10-12 01:52:31Below is from the GUI
We have a requirement from our data governance team to add the data classification into the actual details of the file once we have setup Classification Plans within Sensitive Data Governance, ideally the tag attribute within the file details. Does anyone know if this is possible and how you would do it?
Hi,Need for 1 day prevent synthetic full backups to startChanging it in all schedules seems a little bit not best practiceAny way to disable it globally and turn it back again?
Hi,We would like to hit max APIs on our S3 compatible object storage and we are wondering what all operations via Commvault we can perform to do so.For eg: Backup , restore does hit the s3 PUT and GETs respectively along with HEADs.We would like to perform some regression tests via Commvault.Any recommendations on how to approach this? If via some tool or some other actions?
Hi,I want to deploy the end user laptop package to all the computers in the network without end user interaction. The documentation suggests method of using CommCell Console but I am on version 11.34 and commcell console doesnot work for this version. Is there a way to deploy it using command center
Hello,I am trying to remove a client from subclient (PowerShell), and it works in most of cases, however I came across with a strange case when automation just does not work, for no reason (the target client stays in the subclient)I tried to use both methods I know:Remove-CVVirtualMachine and qoperation executeboth with “error code: 0” on exit 😐Also, I would deeply appreciate if anyone share the info under witch module in “process manager > logging” commands execution log can be found
So.. we have times when one of our customers would like to see a comprehensive display of what is being done and when on their servers, without the “lingo” thrown in. Specifically, we’d love to see something like:ClientHostname Subclient What is backed up (in some form.. VM, FileSystem - what folders ) Where it’s backed up (from storage policy information) The schedule for when it’s backed up (from schedule policies) All backup jobs, including in the storage policy copies #1.1.1 will likely be a repeated column header with 1.1.2,3,4 repeated for each subclient. Is there such a thing existing? I’ve searched near and far but found nothing. Also.. is there a data dictionary that can help with finding information with the datasets? Or even reporting straight from SQL Server? Finding the information in Management Studio seems tough. I’ve actually copied it to SQL Server Express just to play with it w/o blowing up my whole installation. Thank you for any help!
My colleague is using Commvault API in python to automate restores We would like to know how can we use the API to switch off one backup policy and to enable new or another one? And how to run a full backup after switching over backup policy?Alternatively how in a given policy delete and add a new instance for backups?Unfortunately, the following documentation is not detailed enough to achieve that? https://api.commvault.com/docs/SP32/api/cv/ScheduleandSchedulePolicyOperations/add-agent-to-schedule-policy/Thank you,
I need to extend job retention by the given number of days which will be user input. Is there a particular API to handle this ?
Can someone knows on how to lists all the subclient backup jobs history using cvpysdk? Any sample syntax that we can follow?
Friends,I want to use a script to retire/delete VMs from Commvault when the last backup is at a certain age. As we are a tenant customer, we don’t have options like Workflows.So I build a Powershell script to collect data, do different checks and fire Rest calls to Commvault.I can delete via the following command and this works fine:Invoke-RestMethod -Method 'Delete' -Headers $headers -Uri $($url + "/v4/virtualmachines/$UUID") But I can’t find the option to Retire the VM !And important in this case that I only retire the VM backup, not the client, as FS and SQL backups might be still in use. Anyone who knows how to Retire a VM using Rest-API ? Thanks in advance, Maurice
Hello dear community,Can you perhaps help me. I heard that Commvault has a way to automatically display the Commvault infrastructure in 2D or 3D as a picture. Do you know how to do this or is this information incorrect? I would be very grateful if you gave me more information about this.That would help our employees to understand a little more of the commvault construction in our company. Best regards,Eugen
I’m trying to add VM in existing VMgroup using REST API.In the VMgroup there are already many VMs are existing.Following the rule of sample from “Modify VM Group Details” didn’t work.‘’’ curl -w -L -k -w "%{http_code}" -o response.txt -X PUT 'https://mycommvault/commandcenter/api/V4/VmGroup/12' \-H 'Content-Type: application/json' \-H 'Accept: application/json' \-H 'Authtoken: $Token' \--data-raw '{ "content": { "overwrite": false, "virtualMachines": [ { "name": "vm", "GUID": "xxxx-xxx-xxx-xxxx", "type": "VM" } ], },}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 319 0 0 100 319 0 6645 --:--:-- --:--:-- --:--:-- 6645500‘’’it worked when “overwrite” is true. but the rest of VMs were deleted from this VMgroup.Am I missing something?How can I add VM on top of existing VM and not change anything else?
I was thinking about below API end-point: https://api.commvault.com/docs/SP32/api/cv/VirtualizationOperations/vsa-subclient-previewPlease help me with the API endpoint that output below body:{ "appId": { "subclientId": 31, "clientId": 12, "instanceId": 4, "backupsetId": 0, "apptypeId": 106 } }I will use the above body in the API : https://api.commvault.com/docs/SP32/api/cv/VirtualizationOperations/vsa-subclient-previewMy idea is to fetch the subclient id and from the subclient id I can retreive the subclient name and work without manually entering any details.
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.