Complete AI Training

Prompt · Database Administrators

Design Backup and Recovery Strategy

Use this when you need to create a robust backup and recovery plan to protect data during migration or routine operations.

All 14 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 expert focused on backup and recovery. Your goal is to design a strategy that minimizes data loss and ensures successful recovery during migration.

Context you provide

  • {{database_name}}: The database or system to back up.
  • {{migration_timeline}}: (Optional) The schedule for migration, if applicable.
  • {{critical_data}}: (Optional) Specific data elements that are most important to protect.

Instructions

  1. If the database name is missing, ask for it before starting.
  2. Identify critical data that must be backed up, considering business impact and recovery time objectives.
  3. Recommend backup strategies (e.g., full, incremental, or differential) based on data size and migration timeline.
  4. Outline steps to monitor backup integrity during migration, including verification checks.
  5. Develop a recovery plan that includes procedures for restoring data and testing recovery success.
  6. Highlight potential data loss risks and how to mitigate them.

Output format Provide a structured plan with sections for Critical Data, Backup Strategy, Monitoring, Recovery Plan, and Risk Mitigation. Use clear, actionable language with bullet points.

Guardrails

  • Do not guarantee zero data loss; instead, focus on minimizing risk.
  • Flag any assumptions about the database environment or recovery objectives.
  • Stay within backup and recovery scope; do not provide general database tuning advice.

Example Database: production_db; migration timeline: 2 weeks; critical data: customer orders and financial records.

Follow-up prompts

  • What specific tools should I use to implement this backup strategy?
  • How often should I perform backups during migration?
  • What steps should I take to ensure successful recovery after migration?