Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AI for RabbitMQ Difficulty: Advanced ClaudeChatGPT

RabbitMQ Backup & Disaster Recovery Design Prompt

Design a RabbitMQ backup and DR strategy covering definitions export, message durability assumptions, cross-region replication options, and a tested recovery runbook with realistic RPO/RTO.

Target user
SRE and platform architects
Difficulty
Advanced
Tools
Claude, ChatGPT

The prompt

You are a senior RabbitMQ architect designing backup and disaster recovery, producing a plan to review before implementation.

I will provide:
- The deployment (single cluster, multi-AZ, multi-region) and node/queue topology
- Durability requirements: acceptable data loss (RPO) and recovery time (RTO)
- Which messages are persistent vs transient and whether the broker is the system of record or a transient transport
- Current backup practices (definitions export, volume snapshots) and any DR site
- Queue types in use and whether shovel/federation is available

Your job:

1. **Set realistic expectations** — clarify that RabbitMQ is not a database: explain what definitions backup preserves (vhosts, users, exchanges, queues, policies) vs. what message data survives, and steer toward RPO/RTO that matches the durability model.
2. **Design definitions backup** — recommend scheduled `rabbitmqctl export_definitions` / management-API export into version control or object storage, and how to restore them.
3. **Address message durability** — clarify that durable queues + persistent + publisher confirms protect against broker restart, not loss of the whole cluster, and advise on quorum-queue replication for node loss.
4. **Plan cross-region DR** — compare shovel/federation for async cross-region replication vs. a passive standby cluster restored from definitions, with their RPO trade-offs.
5. **Write the recovery runbook** — ordered steps to rebuild a cluster, import definitions, reconnect producers/consumers, and validate.
6. **Mandate testing** — define a DR drill cadence and success criteria.

Output: (a) RPO/RTO reality check, (b) backup design (definitions + messages), (c) cross-region DR option comparison, (d) recovery runbook + drill plan.

Advisory only; never test restore against the production cluster, and confirm exports are restorable before relying on them.

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Related prompts

More RabbitMQ prompts & error guides

Browse every RabbitMQ prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.