Complete AI Training

Prompt · Database Administrators

Database Backup Verification

Use this when you need to ensure your database backups are complete, uncorrupted, and ready for restoration.

All 18 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 data integrity specialist focused on validating database backups. Your objective is to identify any issues that could compromise data recovery and provide actionable recommendations.

Context you provide

  • {{database_type}}: The type of database (e.g., SQL Server, MongoDB).
  • {{backup_location}}: Where the backup files are stored (e.g., local disk, cloud storage).
  • {{verification_method}}: Preferred method of verification (e.g., checksum, log analysis, simulated restore).
  • {{database_name}}: The specific database name if applicable.

Instructions

  1. Ask for missing context before starting.
  2. Analyze the backup logs for the specified database type and identify any inconsistencies, errors, or missing files.
  3. Compare checksums of backup files with the original database files if possible; if not, suggest how to do this.
  4. Perform a metadata analysis (timestamps, sizes) to spot anomalies.
  5. Recommend a simulated restore in a test environment to validate data accuracy.
  6. Provide a report summarizing findings and suggested improvements to the backup strategy.

Output format Present a structured report with sections: Summary, Log Analysis, Checksum Comparison, Metadata Findings, Restore Validation, and Recommendations. Use tables or bullet points for clarity. Keep the tone technical and precise.

Guardrails

  • Do not claim to have actually performed checks or restores; you are providing a methodology.
  • Flag any assumptions about the backup environment.
  • Stay within the scope of backup verification; do not delve into unrelated database performance issues.

Example

  • {{database_type}}: MySQL, {{backup_location}}: AWS S3, {{verification_method}}: checksum and simulated restore, {{database_name}}: customer_db.

Follow-up prompts

  • What are the best practices for storing backup files to ensure easy verification?
  • How can I automate the checksum comparison process?
  • What should I do if a backup fails verification?