azure-mgmt-dataprotection
Microsoft Azure Dataprotection Management Client Library for Python
What it is and what it does
This package is the official Azure SDK client library for Data Protection management operations. It wraps the Azure Resource Manager API to let you programmatically create and manage backup vaults, configure backup instances for various datasources (Azure VMs, Kubernetes clusters, blobs, ADLS), manage recovery points, and trigger restore operations. You authenticate via Microsoft Entra using environment variables for client credentials, then instantiate a DataProtectionMgmtClient and call operation groups for vaults, instances, policies, and recovery points.
The library is actively maintained by Microsoft and tested against Python 3.10 through 3.14. Version 2.1.0 added support for deleted backup vaults and blob auto-protection rules. It depends on azure-mgmt-core for common Azure SDK patterns and isodate for date handling. Installation is straightforward and has no compiled dependencies.
Use it for:
- Automate backup vault creation and lifecycle management across multiple Azure subscriptions and resource groups
- Programmatically configure backup policies and protection rules for Azure VMs, databases, or Kubernetes clusters
- Query recovery points and trigger restore operations from backup instances in response to data loss or disaster recovery scenarios
- Integrate backup and recovery workflows into infrastructure-as-code or CI/CD pipelines for repeatable deployments
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python client library for managing Azure Data Protection resources—backup vaults, backup instances, recovery points, and restore operations—via the Azure Resource Manager API.
Yes. This is the official, actively maintained Azure SDK for Data Protection management. Install it if you need to manage Azure backups programmatically. No known vulnerabilities, permissive license, low install friction, and current Python version support make it a straightforward choice for Azure-native backup automation.
Install
azure-mgmt-dataprotection on PyPI
pip
pip install azure-mgmt-dataprotectionuv
uv add azure-mgmt-dataprotectionpoetry
poetry add azure-mgmt-dataprotectionInstalling azure-mgmt-dataprotection
Before you install
Low friction install with three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions). Active maintenance with release 16 days old; repository shows 5588 stars and current commit activity. Requires Python 3.10+.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most deployment contexts.
Quickstart
pip install azure-mgmt-dataprotection
from azure.mgmt.dataprotection import DataProtectionMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DataProtectionMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Python 3.10+. Requires Azure subscription and valid Microsoft Entra credentials via AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID environment variables.
Verify before relying
- Whether deleted_backup_vaults operation group (added in 2.1.0) is production-ready or still stabilizing
- Performance characteristics when managing large numbers of backup instances or recovery points
- Whether DefaultAzureCredential authentication is the only supported credential method or if others are available
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 191,785/month — #9,874 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_dataprotection-2.1.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-recoveryservicesProvides Python bindings to manage Azure…
permissive · top 5,000 on PyPI
azure-mgmt-recoveryservicesbackupProvides Python bindings to manage Azure…
unclear · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-networkManages Azure network resources (virtual…
permissive · top 5,000 on PyPI
azure-mgmt-batchProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-datafactoryManages Azure Data Factory resources—factories,…
permissive · top 5,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
PyPowerStorePyPowerStore is a Python library for managing…
permissive · top 15,000 on PyPI