🚀 (Updated) Proactive Advisory: Upcoming Microsoft Transition from Exchange Web Services (EWS) to G...
Discuss REST APIs, Workflows, PowerShell, scripting, customization, and more!
Recently active
I want to run one script on linux client, if success them trigger backup job, could you guide me how to select linux client in workflow?
Hello, I’m using Commvault v11.32.28.In building some custom Python scripts that utilize the API I’ve found an endpoint that seems to be broken, or else I’m not using it properly.The endpoint is: /V4/Storage/Tape/{libraryId}/MediaMy understanding is that this is supposed to return media associated with a specific tape library. The “/V4/Storage/Tape” endpoint works, returning details about my library.But “/V4/Storage/Tape/{libraryId}/Media” gives me a status 200 (success), but no data.Is anyone else out there successfully gathering media details from the API?
Hello, I need to move CV SQL Tempdb to a different drive.I’ve found in the documentation there is a SQL Server Relocate TempDb workflow, but I’m unable to find it on the CV store.What I’m doing wrongThanks and regards
We have a customer who uses commvault mail archive system and when they try to use outlook addin they says it was be crush the outlook session , and when they try to download archived e mail thay took a certificate problems . Is commvault have a updated new add in of this solition or how we can fix theese problems
Friends, Version 11.28.89 I need to update the hostname on a bunch of clients, so I try to do this via Set-CVClient as described here: https://documentation.commvault.com/v11/essential/101881_set_cvclient.html But eventhough I receive errorCode 0, it seems that nothing is done. Can anyone tell me what is going wrong? Thanks in advance,Maurice van ‘t Loo PS C:\test> $clientprops = Get-CVClient -Name TESTSERVER_INST01_AGClientPS C:\test> $clientpropsName Value---- -----clientId 5193type 3clienthostName TESTSERVER_INST01_AGClientclientName TESTSERVER_INST01_AGClientcvdPort 0clientIdGUID B07D5C10-663B-41D4-8B81-A9CC77087D63PS C:\test> $clientprops.clienthostName = 'TESTSERVER.domain.nl'PS C:\test> $clientpropsName Value---- -----clientId
I am using the CV Powershell module found on GitHub - Commvault/CVPowershellSDK: Developer SDK - Powershell. I can successfully log into our Commvault server and run get-cvjob commands just fine so i know it is authenticating and working. What I am having trouble with is using the command Get-CVSchedulePolicy. When I just run it by itself, I get the output INFO: Get-CVSchedulePolicy: no policies found. I have a ton of Schedules. My goal is to disable an existing. Schedule Policy using the command Disable-CVSchedulePolicy. I am using an account that has full Commvault permission, and I can do this in the Commcell Java client just fine. What am I missing trying to see all the existing Schedule Policies and then disabling one of them via powershell? I looked at this Get-CVSchedulePolicy (commvault.com) and tried various swithes. Please help.
Hi Vaulters,I am new to Commvault and I am trying to use REST API to install DB2 on a client computer. This is what I have done and found so far:1.I first used XML file generated by “Save as script” in Commcell console installation process and the JSON version of it, and used /InstallClient API which, according to the REST API reference, installs packages on a new client or an existing client. However this only gave a 500 error and no more information was provided. (The file is attached as File1.txt)2.Then I tried to imitate the json sample given in the API reference of /InstallClient (https://documentation.commvault.com/v11/essential/130184_rest_api_post_install_client_associations.html) but the same 500 error code was returned. I think there are many important fields for DB2 that are never covered in the API reference. (This json request is attached as File2.txt)3.After combining the content from 1. and format in 2., I somehow wrote a request accepted by the system and a job was laun
We recently moved from on Prem email to cloud, and with the move the deleteClientAuthorization workflow stopped working. I know we have to reconfigure the Email Approval settings (image below) but not really sure what server to define there. Tried outlook.office365.com and made sure the account we are using has IMAP enabled but still doesn’t work. Anyone here has this configuration on their environment? Any other tweak we need to change on the user account/user mailbox for it to be able to login using IMAP?Appreciate any idea that anyone thinks be helpful in this scenario. Thanks in advance.
Hi https://documentation.commvault.com/2023e/expert/GetAllRunningJobs.htmlI want to filter the output for the qscript to get all running jobs. DescriptionGet the list of running jobs (backup, admin, restore) on the clientsUsageqoperation execscript -sn GetAllRunningJobsscript_name :GetAllRunningJobs The document doesn’t have much details to it. by OperationType - backup/ restoreby Client - which has %prd% or by ClientName - ‘abc001’ Is there a way to achieve this?where can i get the list of valid options / filters that we can use with qscript. ?
Hi,I have a question regarding register a client with RestAPI.In our environment we install by default a decoupled file system agent on each client.In case we need the client to register (e.g. for additional agents), we register the client via Console and fetch the configuration from the client. Additionally we have a script, which can do the same. This script is using qcommands.Since we are planning to migrate all of our scripts to use RestAPI instead of qcommands, we are looking for a method to perform the register via RestAPI.I saw, there is a function for POST Install Client, but I didn’t get it running to do the registering only.Do anybody has a clue how to perform a register and fetching client info only?I tried to check that Command Center and have a look on the “aquivalent API”, but it seems a register only isn’t implemented there. Also in the documentation there is described only how to perform via Console and SimCallWrapper.Maybe somebody has an idea :-)Many thanks in advance
Hello,In my WebConsole of CommVault, we have 4712 Kubernates applications.So, in Databricks, I’ve written this codeapplicationCount is 5757.Now, the json returned is made from 2 keysapplicationCount that is an int applications that is a list of dictionariesso, in json_kubernates I should have 5757 dictionaries, instead I’ve got 100.From API documentation, there is no pagination and about the user we tested it between master user and my user they can see the same clients. Can you help me in understanding why it is doing that?
I’m integrating CommVault API in order to have all client ( VM, client which make backup and Kubernates Application) in a single dataframe./client route returns hostName,clientName,displayName/VM returns several information of which returns clientName,displayName but not HostName/v4/Kubernetes/Applications return several information of which name but not displayName and HostNameWhile I know that a VM may not have a phisical hostName and kubernates Applications may not have an hostName since it’s dockerized containers, it is possible to have the hostName for Kubernates and VMs?/client has all 3 name columns(hostName,clientName,displayName)/VM has 2 name columns(clientName,displayName)/Applications has only one name column (name)Or, I can do the assumption thatVM Client Name can be added to hostnameKubernates application names can be considered as HostName?like hostName = clientName = name ?Thanks for all the clarification
I am trying to create a workflow to run multiple VSA backups through workflow by just selecting the client from the list. For VSA backup it is not working. Same is working for File System level backup. Is there some limitation to run for VSA backup? If yes, what is the easiest way to achieve this. Tried from Rest API as well but we need to give vm name and client name which becomes a bit complex.
I’ve started to integrate the api within Databricks. With common script and managed to extract all client / sub Clients using the documentation provided from customer Support.I asked internally to our SysAdmin that manage CommVault, to give me an extraction of the data from CommVault (All Clients).The list given from sysAdmin does not match with what I extract from API ( Like 4000+ hostname in mismatch).My Question is :Has someone encountered this issue? Shouldn’t route /Client return ALL and I Mean ALL clients that I see on CommVault application? Why do we encounter a mismatch between API and commVault Extraction?
Hi everyone,I’m using powershell to automate the send logs file for a specific job in commvault. I want send these logs to a specific local path in the server, but according to the this documents Send-CVLogFile (commvault.com) the available option is to email. So my question is, there’s another way using powershell or other api to do this? Thanks.
Hello,I’m curious if anyone has encountered the issue of decoding the status codes for vms and other api endpoints for protection status. For example:"vmStatus": 1 I know these typically are 1-6 but could commvault support provide a mapping for each of these to help us determine what this means for protection status? Also, if it differs for vm clients to db clients, what should I expect from those as well? PS - I did see this topic /webconsole/api/v2/MediaAgents status and offlineReason codes and it was close to what I was looking for but this was for MediaAgents where I’m specifically concerned with VMs and DBs
Here is the form activity. Now here is the logs…SetActivityInputs: starting activity with inputs [<inputs><request><method>POST</method><postType>Form</postType><postContent /><postContentType>application/json; charset=UTF-8</postContentType><headers><name>Accept</name><value>application/json</value></headers><headers><name>Authorization</name><value /></headers></request></inputs>]As you can see the value for authorization is empty. The variable is set, but no matter what I do it refuses to honor it.
Hi,This is my first attempt to resolve some problem using Workflows.I have a default subclient that backup all DBs on Windows SQL using SQL agent.The attached schedule policy runs full daily at 9 PM and then tlogs every 2 hours.The problem is that a pre and post script has to be run on the client before every full backup, but not during tlogs backup, so I cannot use the pre/post script tab in the subclient properties. Is it possible to create a workflow that will monitor this subclient activity and if the CommCell is trying to run the full backup, the workflow will pause it, run the script, wait until is finished and resume the backup, and run the post script at the end, but when is backing up tlogs, will bypass both scripts? Sorry if I am overcomplicating things, if there is a simpler solution, all welcome to share it :) Thanks,Marcin
HiDoes anyone know if there are any restrictions in the workflow engine regarding the use of temporary tables in the CommservDBQuery activity? In the SSMS the query works fine. When I run the above SQL query in the debug mode, I don’t get any output: I also tried to use a table as variable, which did not work either.The workflow engine runs on a dedicated server. Could this cause the issue? Thanks for your inputsMichael
We have a scenario where the following occurs, managed by a popular scheduling application on a server somewhere1 - Scheduling app logs in to the application server (VM) active node and stops <application_service>2 - Scheduling app kicks off maintenance tasks take place on the Active Node with the application stopped3 - Scheduling app runs PS Script to tell Commvault via our CV “API Server” home brew with Web Console and other components installed to take VM backup of the app Active node with services stopped4 - once backup done, sends result back to PS script and if 0 (success) then the script restarts the application service on the active nodeProblem - This is all unnecessarily complicated by the presence of the ‘homebrew CV API server’ which was built and has no docs.I need a better, aka simpler, way. If the VM subclient cold run pre-post scripts, perfect, but it cannot. Any suggestions please? With details. Thanks
I would like use these commandEnable-CVSchedulePolicy -ClientName <String> -SubclientName <String>Disable-CVSchedulePolicy -ClientName <String> -SubclientName <String>But i have a small problem with thatThe primary function sought is to deactivate or dissociate a client's policy.In each policy I have several clients.I therefore need to do that only on one or a list of clients and not on the entire policyis it possible to refine the powershell command in this direction ??
I was wondering if anyone out there may have ever tried to configure a Netbackup server as a Data Source for Metrics Reporting?Could it be possible to make this work so that we could report on other backup tools from within Commvault?We’re an MSP and looking for a way to report on all of our backup products from one place without having to fully build a solution in-house.
Hi community. I would like to create a dynamic WizardBlock that iterates over a list and displays PopupInputs for all the entries in the list. I tried it already like in the picture below. Unfortunately this just puts every PopupInput after the other but without the “back” and “next” buttons. It is completely ignoring the WizardBlock. The same apllies to a modified version where I put the WizardBlock inside the ForEach loop. Any ideas if and how I could achieve my goal? I would even go with a solution created dynamically by java code if there is no other option. But I also cannot figure out how I would do that. Best regardsPasqual
Hello,I need to create a workflow that performs push network configuration to the client. Do any of you have such a workflow and could share it with me, or is anyone able to direct me how to do this? Thank you very much in advance for your help!
Bonjour à toutes et à tous,Ayant des copy allant sur bandes, je dois prouver à certains client que les données ne sont plus accessibles à la fin des rétentions, pour moi un simple delete contents / delete ne suffit pas à rendre les données inaccessible sur la bande mais permet juste à commvault de ne plus y avoir acces.Donc nous ne rentrons pas dans le cadre legal de la règlementation sur la gestion des données. Tant que la bande n est pas formater ou qu’un nouveau label n’est pas positionné, il est toujours possible d’accéder aux données sur cette dernière via des outils tierce. Quelqu’un a-t-il un ptit tips pour effectuer ces actions via une qcommande ou via l’API.Merci d avance
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.