skillfed

azure-mgmt-dataprotection

Microsoft Azure Dataprotection Management Client Library for Python

azure-mgmt-dataprotection v2.1.0 191.8K downloads/30d#9,874 on PyPI5,588
Permissive license MIT Active released

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

uv

uv add azure-mgmt-dataprotection

poetry

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

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

Tags

azure data protection managementazure backup vault clientazure recovery point apiazure backup instance managementazure resource manager backup
azure-sdkbackup-managementinfrastructure-as-code

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

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-mgmt-recoveryservicesbackup

Provides Python bindings to manage Azure…

unclear · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-network

Manages Azure network resources (virtual…

permissive · top 5,000 on PyPI

azure-mgmt-batch

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-datafactory

Manages Azure Data Factory resources—factories,…

permissive · top 5,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

PyPowerStore

PyPowerStore is a Python library for managing…

permissive · top 15,000 on PyPI