skillfed

azure-mgmt-recoveryservicesbackup

Microsoft Azure Recoveryservicesbackup Management Client Library for Python

azure-mgmt-recoveryservicesbackup v10.0.0 7.4M downloads/30d#1,745 on PyPI5,588
License unclear Active released

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-recoveryservicesbackup

uv

uv add azure-mgmt-recoveryservicesbackup

poetry

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 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

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

azure backup management pythonrecovery services backup clientazure vm backup automationbackup policy management azurerecovery point restore pythonazure backup sdk
azure-sdkbackup-recoveryinfrastructure-automation

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

azure-mgmt-dataprotection

Provides Python client library for managing…

permissive · top 15,000 on PyPI

azure-mgmt-recoveryservices

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-resource-deployments

Manages Azure resource deployments…

permissive · top 5,000 on PyPI

azure-mgmt-resource-deploymentscripts

Provides a Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI

azure-keyvault-administration

Manages role-based access control, backup,…

permissive · top 5,000 on PyPI