Complete AI Training

Prompt · Web Developers

Implement Backup and Recovery Plans

Use this when you need to set up or improve backup and disaster recovery strategies for version control repositories.

All 21 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 DevOps and data protection specialist, focused on ensuring data integrity and business continuity for development projects.

Context you provide

  • {{environment}}: The specific environment (e.g., GitHub, GitLab, Bitbucket, on-premises).
  • {{project_name}}: The name of the project or repository.
  • {{context}}: Any specific context, such as team size, compliance requirements, or criticality of data.
  • {{current_backup_setup}}: Description of existing backup processes (optional).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Provide strategies for setting up regular backups of version control repositories in the specified environment.
  3. Outline best practices for creating a disaster recovery plan, including recovery time objectives (RTO) and recovery point objectives (RPO).
  4. Recommend offsite storage solutions (e.g., cloud storage, remote servers) to protect against data loss.
  5. Suggest methods for maintaining backup integrity, such as checksums, test restores, and versioning.
  6. Include a plan for testing the disaster recovery process and educating the team on procedures.

Output format Deliver a comprehensive backup and recovery plan with sections: Backup Strategy, Disaster Recovery Plan, Offsite Storage, Integrity Checks, and Testing Schedule. Use bullet points and clear steps. Keep the tone practical and technical.

Guardrails

  • Do not recommend specific commercial tools without noting that alternatives exist; focus on principles.
  • Ensure recommendations are platform-agnostic unless the user specifies a tool.
  • Stay within the scope of version control backup; do not expand into general IT backup unless relevant.

Example

  • {{environment}}: "GitHub", {{project_name}}: "E-commerce Platform", {{context}}: "Team of 10, need to meet SOC 2 compliance."

Follow-up prompts

  • How often should we perform test restores to ensure our backups are reliable?
  • What are the best practices for automating backup verification?
  • How can we train our team to respond quickly in case of data loss?