azure-mgmt-recoveryservicesbackup
Microsoft Azure Recoveryservicesbackup Management Client Library for Python
What it is and what it does
This is the official Microsoft Azure SDK client library for managing backup and recovery operations in Azure Recovery Services vaults. It wraps the Azure Resource Manager REST API, allowing you to programmatically create and manage backup vaults, define protection policies, protect workloads (VMs, SQL databases, SAP systems, file shares), trigger backups, manage recovery points, and orchestrate restore operations. The library handles authentication via Azure Active Directory using environment variables and requires Python 3.9 or later.
Typical use involves instantiating RecoveryServicesBackupClient with credentials and a subscription ID, then calling operation groups to manage vaults, protection policies, protected items, and restore requests. The package depends on msrest for REST transport, azure-mgmt-core for common Azure SDK patterns, and typing-extensions for type hints. It is actively maintained and part of the broader Azure SDK for Python ecosystem.
Use it for:
- Automate backup policy creation and assignment for Azure VMs and workloads at scale.
- Trigger on-demand backups and manage recovery points programmatically for compliance workflows.
- Orchestrate disaster recovery by restoring VMs, databases, or file shares to alternate resource groups.
- Monitor and report on backup status and protected item counts across multiple vaults.
- Integrate backup operations into Infrastructure-as-Code or CI/CD pipelines for Azure deployments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to manage Azure Recovery Services Backup resources—vaults, policies, protected items, and recovery operations—via the Azure Resource Manager API.
Yes. This is the official, actively maintained Azure SDK client for backup management. Install friction is low, it has no known vulnerabilities, and it is essential if you need to automate Azure Recovery Services operations from Python. Requires Python 3.9+ and Azure subscription credentials; note the breaking changes in version 10.0.0 if upgrading from earlier releases.
Install
azure-mgmt-recoveryservicesbackup on PyPI
pip
pip install azure-mgmt-recoveryservicesbackupuv
uv add azure-mgmt-recoveryservicesbackuppoetry
poetry add azure-mgmt-recoveryservicesbackupInstalling azure-mgmt-recoveryservicesbackup
Before you install
Low friction; pure Python wheel with three lightweight runtime dependencies (msrest, azure-mgmt-core, typing-extensions). Actively maintained with recent releases; last commit 2026-08-14.
Quickstart
pip install azure-mgmt-recoveryservicesbackup
from azure.mgmt.recoveryservicesbackup import RecoveryServicesBackupClient
from msrest.authentication import BasicAuthentication
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = RecoveryServicesBackupClient(
credential=BasicAuthentication('', ''),
subscription_id=sub_id
)
Requires Python 3.9+, Azure subscription, and proper authentication credentials configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).
Verify before relying
- Whether the package includes examples or tutorials for common backup scenarios beyond the reference to external docs.
- Performance characteristics when managing large numbers of backup items or recovery points.
- Scope of breaking changes in version 10.0.0 regarding the passivestamp module split and activestamp namespace removal for existing code.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — msrest, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 302 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,406,229/month — #1,745 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_recoveryservicesbackup-10.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
azure-mgmt-dataprotectionProvides Python client library for managing…
permissive · top 15,000 on PyPI
azure-mgmt-recoveryservicesProvides Python bindings to manage Azure…
permissive · top 5,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentscriptsProvides a Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI
azure-keyvault-administrationManages role-based access control, backup,…
permissive · top 5,000 on PyPI