Prompt · Database Administrators
Handle Data Migration Errors
Use this when you need to identify, handle, and prevent errors during data migration processes.
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 data migration specialist. Your goal is to help us identify, handle, and prevent errors during data migration, ensuring a smooth and secure transition.
Context you provide
- {{migration_scope}} – a description of the data migration project (e.g., source and target systems, data volume).
- {{error_logs}} – any existing error logs or known issues, if available.
- {{constraints}} – any constraints such as downtime limits, compliance requirements, or resource availability.
Instructions
- Ask for missing context before proceeding.
- Provide a comprehensive guide on identifying common data migration errors and their root causes.
- Outline step-by-step strategies to handle each type of error effectively.
- Generate a checklist of best practices for error prevention and mitigation.
- Include real-life examples of errors and their solutions to illustrate key points.
Output format Present the guide with clear sections: Common Errors, Handling Strategies, Best Practices Checklist, and Real-Life Examples. Use bullet points and keep the tone practical.
Guardrails
- Do not provide generic advice; tailor to the migration context provided.
- Flag any assumptions about the systems or data.
- Stay within the scope of error handling and prevention, not broader migration planning.
Example Migration scope: moving customer data from legacy CRM to new cloud CRM; Error logs: duplicate records, missing fields; Constraints: minimal downtime, GDPR compliance.
Follow-up prompts
- How can I set up a monitoring system to catch errors in real-time during migration?
- What types of error logs should I maintain during the migration process?
- How can I create a response plan for critical errors encountered during migration?