--- id: azure-mgmt-dataprotection version: "2.1.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-dataprotection — Microsoft Azure Dataprotection Management Client Library for Python License: permissive · Maintenance: active · Downloads: 191.8K/mo ## 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 above — 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 pip install azure-mgmt-dataprotection uv add azure-mgmt-dataprotection poetry add azure-mgmt-dataprotection ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 191.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags azure data protection management, azure backup vault client, azure recovery point api, azure backup instance management, azure resource manager backup, azure-sdk, backup-management, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/azure-mgmt-dataprotection) · [View on PyPI](https://pypi.org/project/azure-mgmt-dataprotection/)