Contents

Chapter 1

Overview

This chapter covers the core features and capabilities of Databricks Disaster Recovery Kit.

Overview

The Databricks Disaster Recovery Kit is a comprehensive, production-ready toolkit for

planning, implementing, and testing disaster recovery strategies across Databricks

deployments. It covers the full DR lifecycle — from architecture selection through

automated failover to post-incident review.

Whether you are running a single workspace or a multi-region lakehouse, this kit

provides the Terraform modules, Python automation scripts, architecture guides, cost

models, and test plans you need to protect your data platform against regional outages,

corruption events, and infrastructure failures.

What's Included

Architecture Guides

DocumentDescription
architecture/active_passive.mdActive-passive DR with warm standby workspace
architecture/active_active.mdActive-active multi-region with live traffic splitting
architecture/backup_restore.mdCold standby with automated rebuild from backups

Infrastructure as Code

ModuleDescription
terraform/dr-workspace/Complete Terraform module for provisioning a DR workspace in a secondary region, including networking, Unity Catalog, cluster policies, and IAM

Automation Scripts

ScriptDescription
scripts/delta_replication.pyDelta Lake cross-region replication via deep clone and streaming sync
scripts/unity_catalog_backup.pyUnity Catalog metadata backup and restore procedures
scripts/secret_recovery.pySecret scope and credential recovery automation
scripts/failover_automation.pyEnd-to-end pipeline failover: detect, switch, validate

Tools

ToolDescription
tools/rto_rpo_calculator.pyCLI tool mapping business SLAs to DR architecture recommendations

Testing

DocumentDescription
testing/dr_test_plan.mdQuarterly DR test procedures with success criteria and runbooks

Communication

DocumentDescription
communication/stakeholder_templates.mdStakeholder notification and status page update templates
communication/postincident_review.mdPost-incident review template with timeline and action items

Cost Analysis

DocumentDescription
cost/dr_cost_model.mdCost model for each DR pattern including standby and activation costs
Chapter 2

Quick Start

Follow this guide to get Databricks Disaster Recovery Kit up and running in your environment.

Quick Start

1. Assess Your Requirements

Run the RTO/RPO calculator to determine which DR pattern fits your business:

bash
python tools/rto_rpo_calculator.py --interactive

2. Select an Architecture

Based on the calculator output, review the corresponding architecture guide:

  • RTO < 15 min, RPO < 5 min → architecture/active_active.md
  • RTO < 1 hour, RPO < 15 min → architecture/active_passive.md
  • RTO < 4 hours, RPO < 1 hour → architecture/backup_restore.md

3. Provision DR Infrastructure

Deploy the secondary workspace using Terraform:

bash
cd terraform/dr-workspace
terraform init
terraform plan -var-file="dr.tfvars"
terraform apply -var-file="dr.tfvars"

4. Configure Replication

Set up Delta Lake replication between primary and DR regions:

python
# Run as a Databricks notebook or scheduled job
# See scripts/delta_replication.py for full configuration

5. Schedule DR Tests

Follow the quarterly test plan in testing/dr_test_plan.md to validate your

DR posture on an ongoing basis.

Prerequisites

  • Databricks Account: Premium or Enterprise tier with Unity Catalog enabled
  • Cloud Provider: AWS, Azure, or GCP with multi-region capability
  • Terraform: v1.5+ with Databricks provider v1.30+
  • Python: 3.10+ with databricks-sdk installed
  • Permissions: Account-level admin for workspace provisioning
Chapter 3
🔒 Available in full product

Cloud Provider Support

Chapter 4
🔒 Available in full product

License

You’ve reached the end of the free preview

Get the full Databricks Disaster Recovery Kit and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $69 →
📦 Free sample included — download another copy for the full product.
Databricks Disaster Recovery Kit v1.0.0 — Free Preview