mwaa-dr
DR Solution for Amazon Managed Workflows for Apache Airflow (MWAA)
Decision gist · record as of 2026-08-14
Yes. If you operate Amazon MWAA and need disaster recovery for metadata, this library eliminates boilerplate code and provides a tested, actively maintained solution. Install friction is minimal, and the package is production-stable. The unclear license requires review, but the permissive grant language suggests low risk for most use cases.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires MWAA execution role to have read/write permissions on the target S3 bucket; an Airflow variable DR_BACKUP_BUCKET must be set with the bucket name (not ARN)
- Low friction: pure Python wheel with a single runtime dependency (smart-open).
- Actively maintained with recent commits and production-stable classification.
License · maintenance · safety
(unclear) — License treatment is unclear—the package carries an Amazon copyright with a permissive grant but lacks an SPDX identifier. Review the full license text before use in proprietary or commercial contexts.
last release 2026-03-30 (137 days) · last repo commit 2026-04-27 · 12 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 384,178 downloads/mo, #7,067 on PyPI
Alternatives
Verify before relying
from mwaa_dr.v_2_10.dr_factory import DRFactory_2_10
factory = DRFactory_2_10(
dag_id='backup',
path_prefix='data',
storage_type='S3'
)
dag = factory.create_backup_dag()- Whether the unclear license is compatible with your organization's licensing policy
- Minimum MWAA version compatibility beyond the documented examples (2.7.2, 2.10.3)
- Whether smart-open's dependencies introduce additional install friction or licensing constraints
What it is and what it does
mwaa-dr is a Python library that generates DAGs to automate backup, restore, and cleanup of Amazon MWAA metadata stores. It addresses the constraint that MWAA metadata access is only available through DAGs by providing factory classes that generate these DAGs for you, eliminating manual DAG creation.
The library handles metadata export to S3 or local filesystem, supports configurable restore strategies for variables and connections (DO_NOTHING, APPEND, REPLACE), and allows customization through inheritance to include or exclude specific tables. It depends on smart-open for storage abstraction and requires Python 3.7 or later.
Use it for
- Automate regular metadata backups of your MWAA environment to S3 for disaster recovery
- Restore a MWAA metadata store from backup after environment failure or data loss
- Exclude sensitive tables from backup when using AWS Secrets Manager for variables and connections
- Customize backup scope by extending factory classes to add or remove specific metadata tables
- Test configurations locally using the LOCAL_FS storage type
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
If you operate Amazon MWAA and need disaster recovery for metadata, this library eliminates boilerplate code and provides a tested, actively maintained solution. Install friction is minimal, and the package is production-stable. The unclear license requires review, but the permissive grant language suggests low risk for most use cases.
Install
mwaa-dr on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (smart-open). Actively maintained with recent commits and production-stable classification.
Requires MWAA execution role to have read/write permissions on the target S3 bucket; an Airflow variable DR_BACKUP_BUCKET must be set with the bucket name (not ARN)
License in practice
License treatment is unclear—the package carries an Amazon copyright with a permissive grant but lacks an SPDX identifier. Review the full license text before use in proprietary or commercial contexts.
Quickstart
from mwaa_dr.v_2_10.dr_factory import DRFactory_2_10
factory = DRFactory_2_10(
dag_id='backup',
path_prefix='data',
storage_type='S3'
)
dag = factory.create_backup_dag()
Verify before relying
- Whether the unclear license is compatible with your organization's licensing policy
- Minimum MWAA version compatibility beyond the documented examples (2.7.2, 2.10.3)
- Whether smart-open's dependencies introduce additional install friction or licensing constraints
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagesmart-open |
| Maintenance | Actively maintained 137 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 384,178 / month, #7,067 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableProgramming Language :: Python |
Evidence: mwaa_dr-2.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “MWAA disaster recovery”
- mwaa-drGenerates backup, restore, and cleanup DAGs for Amazon MWAA metadata…
- azure-mgmt-recoveryservicesProvides Python bindings to manage Azure Recovery Services…
- azure-keyvault-securitydomainManages security domains for Azure Key Vault Managed HSM—download,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also dag-factory · openlineage-airflow · acryl-datahub-airflow-plugin · airflow-exporter · astronomer-starship · airflow-code-editor · apache-airflow-core · apache-airflow-providers-git · astro-airflow-mcp · django-dbbackup