How does bpVMreq cmd collect vCloud metadata?
Hello, Can someone please tell me what is inside bpVMreq command and how the metadata for vCloud infrastructure is collected? Is it a vCloud API call or some other way? If its API call, which is it? We have Veritas enhancement request open and im trying to assist as much as possible, and this piece of information could lead to a successful solution. Thanks for any kind of help.455Views0likes0CommentsRequest API with filter option
Hello, I would like to filter from requesting API. curl -k -X GET https://master:1556/netbackup/catalog/images?filter%3DclientName%20eq%20%27CLIENT_NAME%27 -H 'Accept: application/vnd.netbackup+json;version=2.0' -H 'Authorization: MY_TOKEN_HERE' | json_pp But the result include the whole client name list? What i'm missing ? Thanks for your help.1.2KViews0likes3CommentsNetbackup Appliance API calls not working
Hi all, I am trying to run powershell script (based on API) to monitor Netbackup Appliance without success. Using the same script on the ordinary Netbackup was ok. So, what could be the difference between the Netbackup Appliance and Netbackup? Script to gather information about running services (https://github.com/VeritasOS/netbackup-api-code-samples/blob/master/recipes/powershell/admin/get_services.ps1) The error output from Netbackup Appliance: PS C:\Users\Administrator\Desktop> ./get_services.ps1 -MasterServer <hostname> -UserName <user_name> -Password <password> -Client <hostname> Sending a POST request to login to the NetBackup webservices... Login successful. Sending a GET request to get host UUID .. Invoke-WebRequest : Vzdálený server vrátil chybu: (401) Neověřeno. At C:\Users\cz.jcieslar\Desktop\get_services.ps1:111 char:14 + $response = Invoke-WebRequest ` + ~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand Unable to get host UUID. At C:\Users\Administrator\Desktop\get_services.ps1:119 char:3 + throw "Unable to get host UUID.`n" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (Unable to get host UUID. :String) [], RuntimeException + FullyQualifiedErrorId : Unable to get host UUID. It seems according to error (401),that our user has not enough priviliges to be able to gain UUID of the Appliance. However the login was successful, so the API token was generated without problem. Do you have any idea how to increase user priviliges on the Netbackup Appliance? Do you have any experience with API powershell calls on the Netbackup Appliance? I am looking forward for any suggestions!Solved1.5KViews0likes3CommentsChecking RBAC (UUID permission) on Netbackup and Netbackup appliance
Hello, it is very likely that our user has not right to get UUID during the API call. How can I check if the user has UUID permission or not? For Netbackup appliance the address https://IP/webui is not working (or it is said, that user does not have RBAC to login). Is there any other commands for checking these permissions? The second question would be how to increase missing UUID permission? Any help much appriaciated!Solved1.1KViews0likes2CommentsAPI call from Windows
Hi all, could you please show there the way how to run API calls from Windows OS. I guess, the right way will be using Powershell (Although, it could be used Python scripts as well). So, what is the right syntax for gaining the token and how the simple command looks e.g. for showing running backup jobs in Powershell? Any help will be much appreciated!Solved854Views0likes1CommentNetBackup APIs and Enabling Automation
Join Veritas resident API expert Mark Coletta for a deep dive overview of NetBackups APIs. In this session you will learn how to automate the way NetBackup protects your mission critical data as well as see live demos and real world examples of how customers maximise their data management strategies with powers of APIs within NetBackup.674Views0likes0Comments