🚀 (Updated) Proactive Advisory: Upcoming Microsoft Transition from Exchange Web Services (EWS) to G...
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
Hi,is there any option available to use Microsoft’s Group Managed Service Accounts as Service Account to add a Windows User Domain to Commvault ?Meanwhile regular Service Accounts require to change their password from time to time which always leads to problems with Commvault User Authentication ….BRKlaus
Hi Team, I want to see schedule policy which is assigned or which ran for a VM backup job. From ComcellBackupInfo, i am able to get all the details related to Backup job but only schedule name is not available. Is there any other databse or table using which we can fetch this information.
Is it as simple as create an XML representation of the entity list? I have been attempting to create it via Java with strange results.
For those that don’t want to spend a lot of time trying to figure it out, I just figured I would post the basics and then you can have fun exploring for yourself. It’s not pretty, but should get those not familiar with using the REST API with PowerShell a good base to start. You’ll want to secure the credential section, this is just basic of the basic. It’s not pretty, but should get you started with REST API. You will need to fix the following in the script below: YOURWEBURL:PORT - Needs updated to your URL and port (if applicable) ###USING COMMVAULT REST API COMMANDS#####################################################################################################################https://YOURWEBURL:PORT/webconsole/sandbox/apiexplorer###https://documentation.commvault.com/2023/essential/rest_api_overview.html###SETTING UP THE VARIABLES FOR TOKEN REQUEST############################################################################################################$contentType = 'appl
Hello, I’m trying to restore (out of place) a file list from a vmware guest in python but i got a failed job. client is installed on the machine for restore only.Here is my code :from cvpysdk.commcell import Commcellwebconsole_hostname = "v-commserve-1.xxxxx"commcell_username = "xxxxx"commcell_password = "xxxxx"client_name = "v-xxx-2"destination = "/tmp"overwrite = Falserestore_data_and_acl = Truecommcell = Commcell(webconsole_hostname, commcell_username,commcell_password)client = commcell.clients.get(client_name)agent = client.agents.get("Virtual Server")instance = agent.instances.get("vminstance")backupset = instance.backupsets.get("defaultbackupset")subclient = backupset.subclients.get("backup_bronze")paths = [ "/etc/hostname", "/etc/mailname" ]restore_time = "2024-01-15 00:00:01"job = subclient.restore_out_of_place( client=client, destination_path=destination, paths=paths, overwrite=overwrite, restore_data_and
Dear allLooking for input to validate:Commvault Cloud is compatible with Canonical OpenStack (version, documentation url)? CHARMS can be leveraged to automate deployment (documentation url)? I understand there’s an Ansible CVLT module to automate deployment - GitHub - Commvault/ansible: Ansible Library for Commvault.Thank youdimos
Ok, So I am passing two string variables to the Logevent activity.One for severity, and one for status.And its throwing the following : I did no such thing Apparently it’s expecting a “SeverityLevel” object. It’s expecting a severity level object?The wierd thing is that I have done this before without a problem so I don’t know what the issue is. I can’t get Jiggy with this someone help.
Does anyone have experience with creating Reports in Command Center using RestAPI?When you schedule a Report in Command Center you have the possibility to have it give you the RestAPI equivalent.By modifying that code to our needs (e.g. different Report name & recipients) we want to create Reports “automatically” with the API.As we need to create many Reports quite often (as we run a Multitenant environment) a potential API usage would save us a lot of time.When I try the POST command with the adjusted JSON payload to the URL mentioned (see screenshot below) it doesn’t work, no error, just nothing happens, so I’m wondering if there is something I’m missing.
Dear all, I need some help, the client is requesting an automated process for installing agents in commvault, so that on boot he can call this through a package configuration or something like that so that as soon as he starts the VM everything goes up the automatic installation, does commvault have any process of this type? It also needs this configuration for the commserver and media agents. Does the commvault tool have this type of automation?
Hello All,Our Transaction log backup get pending sometimes due to broken chain, then IT converts itself to the FULL backup and It effects our systems during day. Is there a way to kill or suspend job when transaction log backup Converts to FULL? or is there a way kill/suspend when backup job gets pending?
I am using API to remove a subclient from backup policy. Can anyone help me understand the difference between what the exclude and remove endpoint do?
Hi. I have a workflow in which I am creating a dynamic PopupInput. Here is some pseudo code similar to that what I am using:import commvault.msgs.App.XMLSchema;import commvault.msgs.App.InputControlType;XMLSchema input = new XMLSchema();input.setDefaultValue("Default"); input.setInputName("INPUT1");input.setHidden(false);input.setListType(false);input.setControlType(InputControlType.TEXTBOX);input.setDisplayName("Display Name");input.setRequired(false);activity.getForm().getEntries().add(input);This works well so far. But I am struggling to get the output of the PopupInput because the entry “INPUT1” seems to not exist. I tried a few things within a “Script” activity or even in the OnComplete Script of the PopupInput. For example I iterated through “activity.getForm().getEntries()” but the entry “INPUT1” did not exist. But nothing has been working.Does anybody know how to get the value of my entry? (Remember: That is just pseudo code. In reality I am generating many input fields comple
Hey,we updated from 11.28 to 11.32.38.We have Monitoring Check for “Backup Copy” Jobs, and after the update to 11.32 not working, because via REST API Endpoint the “Backup Copy” Jobs are not shown anymore.Endpoint: https://<serverURL>/webconsole/api/Job?clientId=62On 11.28 the “Backup Copy” Jobs were show beside all other Jobs for the Client, but on 11.32.38 it is not shown anymore.On this Forum Topic:, it was discussed for 11.28 as an issue and could be workaround by adding:&hideAdminJobs=false to the APi Call, but this doesnt help in 11.32→ no Backup Copy Jobs are shown.Can this be checked internally with Dev Team if there were a change or maybe known issue?Thx & Best RegardsMarcel
Hi community. I would like to know how I can dynamically create a PopupInput with java code. Example use case: At first I fill a variable (list) with values (e.g. from a db query). Let’s assume the value of this variable is: Value1, Value2, Value3. Now I need to ask the for information for each single value with a PopupInput like in the screenshot below. I would guess that I need to start like this:import commvault.cte.workflow.dom.WorkflowElement;WorkflowElement PopupInput = WorkflowElement.parse(... But honestly I have no idea how to continue from here on. Best regardsPasqual
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
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.