🚀 (Updated) Proactive Advisory: Upcoming Microsoft Transition from Exchange Web Services (EWS) to G...
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
In the MaxDB Workflow properties, what should the Security tab look like?Does ‘master’ user and ‘master’ role need to be added? Or just the specific commvault service account with master (or custom) role be applied?
Hi folks,I'm building a custom report using SQL. The final output should look more or less like the “Backup Job Summary” report in Command Center. However, I'm running into issues with the Retention column.I’ve figured out how to pull the standard retention using the following query: SELECT J.jobId, AR.retentionDaysFROM JMJobDataStats JINNER JOIN archGroup AG ON J.archGrpId = AG.idINNER JOIN archAgingRule AR ON J.archGrpCopyId = AR.copyId The problem is that this query doesn’t return jobs that have extended retention. I’m aware of the archAgingRuleExtended table and tried selecting from both tables and then taking the greater value — but this approach doesn’t seem to work.I also tried applying the extended retention only when JMJobDataStats.retentionFlags > 0, but that didn’t help either 🙁I’m sure I’m missing something obvious, but I can’t figure out what exactly. There must be some indication that a particular job is using extended retention, but I haven’t been able to find
I see that update_subclient_filters_template.xml allows for specific VMs to be added to filters but can it also be used to remove them? I tried changing -vmFilterOperationType ADD to DEL or REM but no luck.
Hi folks,I need to amend storage policy copy details (using API), particularly this block:I need to change the value of streams number..The GET request I use to obtain storage policy copy details:<webservice>/V2/StoragePolicy/{storagePolicyId}/Copy/{copyId}However, looks like this parameter is missing in the response 😒
Hello everyone, hope you’re having a good day. I’ve been trying to build an API call that would suspend and then autoresume a job but I’m not being able to figure out how. These have been my attempts so far:1.curl -s -L -k -X POST "${URL}/Job/30409890/action/pause?autoResumeInSec=60" \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H "Authtoken: $key" \ -H "Content-Length: 0" \ --data '{}' > /dev/null2.curl -s -L -k -X POST "${URL}/Job/$jobid/action/pause" \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H "Authtoken: $key" \ --data '{ "options": { "autoResumeInSec": 600 } }' > /dev/null Request 1. will suspend but never end up resuming. I’m basically stuck first suspending and putting it in a loop finding when the job is finally suspended to then make a call to resume. If I was able to use the autoresume parameter it would really simplify things. Has anyone
Hello Team, We have Windows 2016 servers in 3DC(active-standby-standby) and CommServe LiveSync for High Availability(link below). We want to upgrade these servers to Windows 2022 with Windows in-place upgrade. As far as I know, Commvault software supports Windows in-place upgrade, but does it support it in HA structure? I couldn't find any information about this in the documentation.If it supports it, would it make sense to upgrade standby first, then do production failover, and then do the other one?Is production failover supported on different Windows versions, does it make sense to do it? Thanks in advance!https://documentation.commvault.com/2024e/expert/commserve_livesync_for_high_availability_disaster_recovery.html
Hi Team, I am trying to do an automation. As part of this, I want to add a VM that I have pulled as a variable via a form to a subclient first (if the subclient content is full, it will clean it and then add the VM) and I want to trigger the Full backup of the relevant subclient. Which Rest API, qcommand, commvault powershell module etc. can I do this better with and which API or commands can I do it with, can you give me some guidance?Another question is, how can I start the Full backup of a VM that I have pulled as a variable via a form (a VM that I have never backed up before, that Commvault does not know yet)?
how to create in automatic way for example 100 entries type of “SQL_SERVER_ACCOUNT” in credential vault ...anyway i am intrested API , powrshell , worflow etc i can list existed one as type of “SQL_SERVER_ACCOUNT” exist in Get list of credentials | Commvault®but in CREATE section Create Credential | Commvault® like type of “SQL_SERVER_ACCOUNT” not exist
Backgroup:Commvault is nice backup platform, and it is helpfull to us who are IT admins.IT team charges the backup operation daily, and include over 400 clients; usually, the backup faild or other alert are gerented everyday, and only autherization user is able to login commvault software to check and fixe the alerts, but it not kindly way to share or push client’s owner to move on.Originally, IT team want to use Zabbix collect the alert from Commvault, and now the way is successful.
I try in Python 3.11.5 with Cvpysdk v11.38 ( or 11.34 before ) to create a ClientGroup with some rules in it .But when I run it I can see the new Client Group , the new rules added but strangely the value of the rule … associated Storage Policy has another value and thus the result , all associated clients to this new client group, is not correct.It’s very difficult to find any help ?Even Brave A.I returns me some faulty samples or probably some old python and cvpysdk samples.Thanks in advance,Patrick
Good afternoonI would like to ask you a question, we are with Commvault recently and we have configured Webhook, so that through the service we generate incidents for problems with backups, with the circumstance that has lost the webhook connection on a couple of occasions, and we do not realize the situation until we check it manually.Is there any way to configure an e-mail alert to warn that Webhook has lost communication?Thanks in advance for your time, and replies
Looking for a automated way to re-associate client in a storage policy to a different storage policy.Our DR/Failover plan requires us to different libraries, Data paths When we failover our Comserve to our Secondary site. Once our Primary site has failed over to secondary site we will bring up the Commserve and re-associate the client in “primary Site/s Storage Policies” to “Secondary Site’s Storage Policies” so backups will then start backing up to Storage located at Secondary Site. Thus for the reasom that I’m looking for a script/ Automated way to re-associate several Primary Site SP’s to their counterpart Secondary Site SP’s
Hi! I had been using the release license API and it used to work, until today. I am not sure if something changed in the backend, or am I missing something in the payload? Payload1:{"isClientLevelOperation": true,"licensesInfo": [{"platformType": 1}],"clientEntity": {"clientId": 12345},"license": {"licenseName": "Server File System - Windows File System"}}Payload2:{"isClientLevelOperation": true,"licensesInfo": [{"platformType": 1}],"clientEntity": {"clientId": 12345}} Response:{"warningCode": 0,"errorMessage": "","errorCode": 0,"warningMessage": ""} Even tho I see an error code 0, the license is not released.
Hi all, I am trying to automate our Commvault platform, and have been using the cvpysdk package a bit - however, I am missing some information.First of all, are there any release notes available for the different versions/releases of the package? I can not find anything really in pypi or in github.Secondly, I can also see that the releases are versioned as 11.32, 11.34, 11.36, 11.38, is this directly correlating to what version of Commvault software you are using or what release should one use? Is it possible to use 11.38 on a 11.32 platform or should I be expecting operational difficulties?Lastly, what python versions are supported?Thank you in advance,Daniel
Hi,I know that at Command Center > Protect > Virtualization > VM we can get “Oldest recovery point” for that specific VM.I need a report with all VMs with “Oldest recovery point”. Any ideas?I know that “Latest recovery point” is easy and already available at some predefined reports.ThanksHC
The documentation appears to be contradictory.https://documentation.commvault.com/2024e/expert/rest_api_get_data_set.htmlGET /CustomReportsEngine/rest/reportsplusengine/datasets/<datasetID>/data Host: <host name>Accept: application/xmlAuthtoken: <authentication token>When I attempt to use a bearer token, I get 401 not authenticated.
Hi all, We’re on version 11.36.46 and I cannot get the syntax to work.I’ve downloaded the template and used the syntax from https://documentation.commvault.com/v11/expert/command_line_interface_configuration_postgresql_idataagent.html#creating-a-multinode-cluster-instance but I get:execute: Error 0x911: Failed to process request due to invalid entity information.Invalid clientId for clientName[CLUSTERNAME].Invalid instanceId for instanceName[INSTANCENAME] The new name is unique and has never been used. Has anyone gotten this to work as yet?
Hello,I’m looking for a command to change the container of a tape media.In the CommandCenter it’s not possible to change the container and therefore I can’t find an equivalent API.In the Console I’m able to change the container of a tape but even if I activated logging (ALT-F8) there was nothing useful in the logs.I was searching through documentation but found no qcommand or anything to change the container.
Hello! All good?My name is Filipe Asaph, work in StorageOne.I would like to ask you questions about Commvault's "Workflow" tool. I'm trying to send an email in Workflow, but it always gives an error. The error number is 19:857.Grateful, Filipe Asaph.
In below example at the end we are passing the instance name by checking it manually by login in to commcell console but our requirement is to fetch the database instance name automatically through a command..\qmodify.exe schedulepolicy -o add -scp <Schedule policy name> -c <Host Name> -a Q_MSSQL -b defaultBackupSet -s default -i <Instance name>We need your help in getting the right command to get the instance name.
In CC ( Protect → File Servers → <item>-->tab Configuration (down&left) a list of servers that use current node as Access Node is displayed. I would like to get this list using an API, but I am not able to find the API.Is there an API that provides this info ? Thanks in advance !!
My executive want me to print out an “easy to read” report of all server that we back up, with the run schedule and storage retention. Does such a report sound possible? I am playing with the reports that have not found anything I could give an executive...thanks
I want to use Delinea secret server to manage password rotation for the local admin account. As I did not find a plug-in like CyberArk, I want use API command https://<-serverhost->/webconsole/api/User/AccountManagementHas this anyone already in use? I got ever the following error : <Api_GenericResp errorMessage="Invalid respose recevied" errorCode="1" /><Response [500]>regards JuergenV.11.32.76
Se we back up most of our servers and I feel comfortable that we are pretty well protected but management is looking for a single report that displays ALL servers that are backed up, their retention cycle and how often each server is backed up Is such as report possible. We are looking to keep it as simple as possible but list every server so that list can be compared to our complete master lit of servers that exist
We recently upgraded to 11.36 and quite a few workflows are now having issues. One thing I noticed is that embedded XML is not being properly evaluated it when I look at in in the debugger. I have the instance properties stored in a map and in the XML I extract the properties, which I assume should be evaluated at runtime. <?xml version="1.0" encoding="UTF-8"?><App_UpdateInstancePropertiesRequest> <association> <entity> <instanceId>java:{workflow.getVariable("instanceProp").get("instanceId")}</instanceId> </entity> </association> <instanceProperties> <instance> <instanceId>java:{workflow.getVariable("instanceProp").get("instanceId")}</instanceId> </instance> <oracleInstance> <useCatalogConnect>true</useCatalogConnect> <catalogConnect> <userName>java:{workflow.getVariable("instanceProp").get("oracleSID")}</userName> <domainName>xpath:{/workflow/confi
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.