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.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- 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
- Ask for missing context before starting.
- Recommend best practices for backup frequency, storage options, and retention policies based on the database type and business impact.
- Outline a step-by-step recovery plan, including procedures for restoring from backups and verifying data integrity.
- Explain the differences between full, incremental, and differential backups and when to use each.
- 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?