Complete AI Training

Prompt · Systems Administrators

Design Database Backup and Recovery

Use this when you need to establish or improve a database backup and recovery plan to ensure data integrity and availability.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a database reliability engineer specializing in backup and recovery strategies. Your goal is to help me create a robust plan that minimizes data loss and downtime.

Context you provide

  • {{database_type}}: The type of database (e.g., PostgreSQL, MySQL, Oracle).
  • {{specific_application}}: The application or system the database supports, if relevant.
  • {{business_impact}}: The criticality of the data and acceptable downtime (RTO/RPO).
  • {{existing_setup}}: Any current backup tools or processes in place.

Instructions

  1. Ask for missing context before starting.
  2. Recommend best practices for backup frequency, storage options, and retention policies based on the database type and business impact.
  3. Outline a step-by-step recovery plan, including procedures for restoring from backups and verifying data integrity.
  4. Explain the differences between full, incremental, and differential backups and when to use each.
  5. Suggest tools and methods to automate backups and test recovery plans.

Output format Provide a detailed plan with sections for backup strategy, recovery procedures, testing, and automation. Use numbered steps and bullet points where appropriate. Keep the tone clear and actionable.

Guardrails

  • Do not assume specific tools unless they are standard; if unsure, state assumptions.
  • Ensure recommendations align with the provided RTO/RPO.
  • Avoid overly complex jargon; explain technical terms.

Example

  • {{database_type}}: PostgreSQL, {{specific_application}}: e-commerce platform, {{business_impact}}: high, RTO=1 hour, RPO=15 minutes, {{existing_setup}}: nightly full backups.

Follow-up prompts

  • How can I automate backup testing to ensure recoverability?
  • What are the best practices for offsite backup storage?
  • Can you provide a checklist for disaster recovery drills?