{"id":44637190,"url":"https://github.com/veritasos/netbackup-api-code-samples","last_synced_at":"2026-02-14T18:03:30.773Z","repository":{"id":30415966,"uuid":"118692017","full_name":"VeritasOS/netbackup-api-code-samples","owner":"VeritasOS","description":"Contains code samples that demonstrate the use of NetBackup REST API","archived":false,"fork":false,"pushed_at":"2024-03-21T15:17:53.000Z","size":2719,"stargazers_count":54,"open_issues_count":9,"forks_count":53,"subscribers_count":63,"default_branch":"master","last_synced_at":"2025-06-01T01:45:18.167Z","etag":null,"topics":["api","netbackup","rest-api","sample-code"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VeritasOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-24T01:08:21.000Z","updated_at":"2025-02-05T08:20:22.000Z","dependencies_parsed_at":"2024-03-21T16:51:16.989Z","dependency_job_id":null,"html_url":"https://github.com/VeritasOS/netbackup-api-code-samples","commit_stats":{"total_commits":179,"total_committers":44,"mean_commits":4.068181818181818,"dds":0.7932960893854748,"last_synced_commit":"8900df53c17faeec05379d9fb604fe438d17f8cd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VeritasOS/netbackup-api-code-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeritasOS%2Fnetbackup-api-code-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeritasOS%2Fnetbackup-api-code-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeritasOS%2Fnetbackup-api-code-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeritasOS%2Fnetbackup-api-code-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VeritasOS","download_url":"https://codeload.github.com/VeritasOS/netbackup-api-code-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeritasOS%2Fnetbackup-api-code-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29451955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","netbackup","rest-api","sample-code"],"created_at":"2026-02-14T18:03:28.460Z","updated_at":"2026-02-14T18:03:30.769Z","avatar_url":"https://github.com/VeritasOS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### NetBackup API Code Samples\n\nContains code samples of using NetBackup REST APIs in different scripting/programming languages.\n\n##### Disclaimer\nThese samples are only meant to be used as a reference. Please do not use these in production.\n\n##### Executing the 'snippets'\n\nThe `snippets` folder contains code samples to invoke NetBackup APIs using different scripting/programming languages. \nThese are usually simple examples that demonstrate specific API. \n\nPre-requisites:\n\n- NetBackup 8.1.1 or higher\n- See the script's README for the corresponding requirements and usage\n\n\n##### Executing the 'recipes'\n\nThe `recipes` folder contains code samples to invoke NetBackup APIs using different scripting/programming languages. \nThese are usually examples of usage of multiple APIs covering specific use-cases.\n\nPre-requisites:\n\n- NetBackup 8.1.2 or higher\n- See the script's README for the corresponding requirements and usage\n\n\n\n##### Tools\nThe `tools` folder contains utilities that have proven useful in the development of projects using NetBackup APIs, but do not provide any API usage examples.  Again, these tools are not for production use, but they may be of some use in your work.\n\n#### NetBackup 8.3 RBAC Design Shift\nNetBackup 8.3 introduced a major change in its RBAC configuration and enforcement design.  \n\nRBAC was introduced to NetBackup in the 8.1.2 release, offering access control for a limited number of security settings and workloads.  That access control configuration was based on a dynamic object-level enforcement model using “Access Rules”.\n\nWith the NetBackup 8.3 release, RBAC has moved away from the dynamic access rule design.  \nThe new RBAC allows more granular permissions, improved flexibility and greater control. The RBAC design is now based on Access Control Lists (ACLs) and closely follows the ANSI INCITS 359-2004.  While the earlier design of RBAC enforcement was dynamic in nature, the new RBAC is static in its configuration.\n\nThe system-defined roles shipped with NetBackup also changed from 8.1.2 to the 8.3 release.  In 8.1.2, there were three system-defined roles available for RBAC configuration.  In the 8.3 release, this was simplified to offer a single “Administrator” role which has all privileges for RBAC.\n\nDue to the significant design shift, automatic upgrade conversion of 8.1.2 RBAC roles to the new 8.3 roles is not feasible.  However, tools are available to migrate the Backup administrator role and create a new Security administrator role for the users that had the old RBAC Security administrator role. \nOther roles must be reconfigured manually. \nThere is also a script in this repository available to generate templated NetBackup roles.\nSee **/recipes/perl/access-control/rbac_role_templates.pl**\n\n\nAny API keys in use prior to upgrade will still be valid, however, the underlying access granted those API keys must\n be reconfigured using the new RBAC configuration, after which any active user sessions must be removed.\nA utility script exists in this repository to help convert active API keys after upgrade to NetBackup 8.3.  \nSee **/recipes/perl/access-control/access_control_api_requests.pl**\n\nMost of the API examples in this repository assume a valid JWT (Json Web Token) or API Key issued by NetBackup and do\n not incorporate role configuration as part of the script. However, there may be some examples which do configure RBAC as part of the script and have not yet been updated to use the RBAC design.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveritasos%2Fnetbackup-api-code-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveritasos%2Fnetbackup-api-code-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveritasos%2Fnetbackup-api-code-samples/lists"}