--- id: azure-mgmt-recoveryservicesbackup version: "10.0.0" license: unclear license_treatment: unclear maintenance: active --- # azure-mgmt-recoveryservicesbackup — Microsoft Azure Recoveryservicesbackup Management Client Library for Python License: unclear · Maintenance: active · Downloads: 7.4M/mo ## 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 above — 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 pip install azure-mgmt-recoveryservicesbackup uv add azure-mgmt-recoveryservicesbackup poetry add azure-mgmt-recoveryservicesbackup ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 7.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure backup management python, recovery services backup client, azure vm backup automation, backup policy management azure, recovery point restore python, azure backup sdk, azure-sdk, backup-recovery, infrastructure-automation [View on SkillFed](https://skillfed.io/packages/azure-mgmt-recoveryservicesbackup) · [View on PyPI](https://pypi.org/project/azure-mgmt-recoveryservicesbackup/)