🚀 (Updated) Proactive Advisory: Upcoming Microsoft Transition from Exchange Web Services (EWS) to G...
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
Qcommand, API or CS sql query to retreive the information listed under Instance Status tab for a Snap job under V2 virtualization (Amazon Web Services)In V2 virtualization, we have VSAParentJobID which is 123654 in the above screenshot and each VM added in that subclient will have a VM Job ID associated to it for a Snap backup.Whereas in V1 virtualization , it was just one job id for all VM’s so there wasn’t any confusion, we use this JobID to cleanup any snapshots/ami that were left by FAILED/Partially Successful jobs.I’m finding it difficult with V2, since the snapshots are named as per the VM Job ID which is only seen within the Instance status tab in Job Details.The API for Get Job Details on a the VSAParentJobID is not giving me the associated VM Job IDIt only gives the following info:jobSummarysizeOfApplicationopTypesizeOfMediaOnDiskstatuslocalizedOperationNamebackupLevelclientGroups informationsubclient information like clientName, instanceName, backupsetId, clientID, subclientI
Hi,I have a workflow running with a loop/wait in it, so this keeps running.Another workflow needs to kill it when a specific condition happens, but this workflow can’t kill the job.I also tried to kill it manually with the “qoperation jobcontrol” command but that doesn’t work either.The only way to kill it, is right-click in the Commcell console. There’s no issue to kill other jobs with the “qoperation jobcoltrol” command.Does anyone have any idea why this is not possible and how I can get this working?Thanks and kind regards,Jan
Hello All. I’m attempting to write a script to disable a subclient. We have hundreds that we don’t require the backup of the File System, so I’d like to disable them.I can find information about the subclient...Get-CVSubclient -ClientName qct0bjsql01 | Where-Object { $_.appName -eq "File System" }clientName : qct0bjsql01instanceName : DefaultInstanceNamedisplayName : qct0bjsql01backupsetId : 2068_type_ : 7commCellName : cvt0comsrv01instanceId : 1csGUID : xxxxxsubclientGUID : xxxxxsubclientId : 4777clientId : 5087appName : File SystembackupsetName : defaultBackupSetapplicationId : 33subclientName : defaultentityInfo : @{companyId=0; companyName=Commcell} However when I attempt to disable the subclient with this command it fails.Disable-CVBackupSubclient -SubclientId 4777Disable-CVBackupSubclient : Invalid URI: The format of the URI could not be determined.At line:1 char:1+ Disable-CVBackupSubclient -SubclientId 4777+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi all,In the 2024E release I read something about migrating data from other backup vendors to Commvault. Unfortunately this can only be done for file ystem data (the the moment). Is there a plan to migrate other data (databases, VM's) too? That would be a complete solution when a customer wants to migrate from another vendor to CommvaultHopefully we have some information on this! Thanks in advance for the answerKind regards,Henk
I would like retrieve the instance size information for each VM for a specific job? Is there any qcommand / API that i can use to get this info
All my workflows will start but stay on the submission page until the workflow completes.What am I doing wrong?I want to enter the options for the workflow and then have it return the jobid. Thanks.
Does your organization have a mandatory password change policy and Commvault SQL accounts (sqladmin_cv and sqlexec_cv) are not in an exception? No worries. We have you covered. We now have “Refresh Commserve Database Access Key” workflow available in your Commserve and it can be scheduled to change passwords of these accounts. Happy meeting your security/audit requirements. Have fun.
Hi ,I am trying to send an Daily Job summary report to Helpdesk team and keep my Manager in CC from COmmvault.But there is no option for “cc” field, it;s there in Alert section but not in reports.Can somebody help me if there is any option to customize the report and add CC form?
So far we’ve utilized non-worm server plans for VM group and SQL instance backups via Equivalent API.Is there any approach in API to enable Worm flag.Any suggestions would be greatly appreciated.
I have customized report (from Backup Job Summary report)which has the information of certain jobs with for ex:the report has a table which contains the following columnsJobid, subclient, job status, start time, end time I have added a schedule to this report to generate csv format file at a specific time.If have to run this report from workflow, which API shall i use?
Hi,its possible enable FIPS mode on the Commvault server via API. If is possible please share me API endpoint for this. How I can check via API status for FIPS ?
I need to backup VMs and I am using the below API:(tried both of them)https://api.commvault.com/docs/SP34/api/cv/OpenAPI3/virtual-machine-backuphttps://api.commvault.com/docs/SP34/api/cv/VirtualizationOperations/perform-vm-backupBut they are not working and throwing internal server. Can someone help me with this.P.S. I am testing it on a test commvault with similar environment to production.Below are the logs for one of my API calls:14536 175 05/31 11:44:36 175 admin - WEBAPI-STARTED processing [POST]:[/v4/VirtualMachines/52c0fb3f-9cf0-ea0c-6518-ff20a5d37a6f/backup] request. : /v4/VirtualMachines/52c0fb3f-9cf0-ea0c-6518-ff20a5d37a6f/backup : Parameters : [backupLevel=FULL] : AdditionalInfo[ ConsoleType[API]]14536 175 05/31 11:44:36 175 admin GetTemplateInfoForAPI - Pipeline Stages selected : default14536 175 05/31 11:44:36 175 admin ProcessStep - Pipeline stage 'default' will be executed14536 175 05/31 11:44:36 175 admin ProcessStep - Request from the pipeline after rendering:
Hello. I have a questions about MIB.1. Where I find a link in the documentation to the latest MIB file with the latest OIDs? Is there a place on the Commvault 11.32 server where I can find this file?2. How often is the MIB updated?
I'm working on a project where I need to deploy a software agent to endpoint devices. The requirement is for the deployment to be completely silent and automatic, initiated by a script running on the user's device. Here are the specific details: The script will download the agent from a cloud storage location (e.g., S3 bucket). The downloaded agent will then be automatically installed on the user's device. The entire process should be seamless and require no user interaction. Can someone please help me with the script or any other approach I can take here? Thanks!
I am in SP32 version .When I try to get summary for a jobid, the response content 100 jobs details instead of my only mine.FYI my jobid is not in the response ;-( GET {{serverurl}}/Job/15848821555accept: application/jsonAuthtoken: {{auth_token}} I suppose that is because the job id is hight, but the response is incorrect,What is the problem ?
We are automating CV client installations by registering a Decoupled installation using simcallwrapper. Is it possible to associate or change backup plan for the client using simcallwrapper ?I can only se this flag -subclientPolicy but dosent seem to work?
I am using CVpySDK and trying to assign storage policy for a client that currently doesn’t have a storage policy. I tried the code below from the documentation but it didn’t work: client = commcell.clients.get(client_name)agent = client.agent.get(‘sql server’)backupset = agent.backupset.get(‘defaultBackupSet’)subclient = backupset.subclients.get(‘default’)subclient.storage_policy = ‘MyStoragePolicy’
Hi, We are trying to add mysql instance, but both cvpysdk and API failed to do so. For cvpysdk i opened github issue, but not sure it’s actively maintained? For API, using this page and example values: curl -k -L -X POST 'https://commsrv/commandcenter/api/Instance' \-H 'Content-Type: application/json' \-H 'Accept: application/json' \-H 'Authorization: Bearer [...]' \--data-raw '{ "instanceProperties": { "instance": { "instanceName": "aymasterr_3306", "applicationId": 104, "clientId": 461, "clientName": "a-o0" }, "mySqlInstance": { "BinaryDirectory": "/usr/bin", "LogDataDirectory": "/var/lib/mysql", "ConfigFile": "/etc/my.cnf", "port": "/var/lib/mysql/mysql.sock", "EnableAutoDiscovery": true, "SAUser": { "userName": "root", "password": "cm9vdAo" }, "proxySettings": { "isProxyEnabled": false, "proxyInstance": { "instanceId": 0 }, "isUseSSL": false, "runBackupO
I need an API endpoint to fetch the subclient id. For testing purpose I copied the ID from the url: https://win-igicqf1affn/commandcenter/#/collectionDetails/content/3/10 In the above mentioned URL 10 is the subclient id. I have used it in other API endpoints. But when I use the api in order to fetch the subclient id it gives me 14 instead of 10. Below are the links to APIs I have been manipulating.https://api.commvault.com/docs/SP34/api/cv/VirtualizationOperations/update-subclient-virtual-machine-contenthttps://api.commvault.com/docs/SP34/api/cv/SubclientOperations/get-subclient-propertiesThe api that is giving me a different subclient id:https://api.commvault.com/docs/SP34/api/cv/SubclientOperations/get-subclient-idimport requestsimport jsonurl = "https://win-igicqf1affn/commandcenter/api/subclient?clientId=8"payload={}headers = { 'Accept': 'application/json', 'Authtoken': 'token'}response = requests.request("GET", url, headers=headers, data=payload, verify=False)pretty_json = json
Hello all, I search to create a SQL alert in order to notify me if an agent have no schedule policy associated.I found an sql query…. but not sure of it. Can you help me ? Thank you ! use commservselect distinct CommCellSubClientConfig.clientname, CommCellBkScheduleForSubclients.scheduePolicy, CommCellBkScheduleForSubclients.scheduleName, CommCellBkScheduleForSubclients.schedbackuptypefrom CommCellSubClientConfigjoin CommCellBkScheduleForSubclientson CommCellSubClientConfig.appid = CommCellBkScheduleForSubclients.appid
Can you please provide API to Fetch "Reason for job delay" message (error/Failure message of job)
Hello,I have many backup database to enable / disable and some times we forgot to renable it. Is there a report to view schedule policy checked and unckecked ? Or how can i create it ? Thank you for your help.
Hello,does anyone know how to delete Disk Filters on a Hyper-V Subclient via qcommand? Add works, modify works but delete doestn do anything to the filters. Im Using this XML: documentation.commvault.com/2023e/expert/files/products/vs_vmware/command_line_xml/update_disk_filters_template.xmlAnd the job is running (any spelling error results in pending jobs) but nothing happens to the filters.XML Parameters for Microsoft Hyper-V Backup Set Configuration (commvault.com)In the xml i’m just swapping “ADD” to “DELETE” and this entry should have been removed. Thanks for help and regardsJacob
I can't find any url that I can attack to return these values.
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.