INT-Q04โ˜… Must-prepareScenario AdvancedIntegration & data#ldv#integration#governance

You need to migrate 15 million records from a legacy CRM over a weekend. Walk me through your plan.

Your confidence:Not rated

Model answer

Before the weekend

  • Profile and cleanse in a staging database; agree mappings and transformation rules with business owners.
  • External IDs on every object; parents referenced by external ID.
  • Rehearse twice in a full-copy sandbox with production volumes. Time each step and fix bottlenecks (locks, automation, sharing).
  • Prepare bypasses: trigger framework switches and flow entry criteria for the migration user; deactivate email-sending automation.

During the load

  1. Freeze changes in the legacy system.
  2. Load in dependency order: users โ†’ accounts โ†’ contacts โ†’ opportunities and line items โ†’ cases โ†’ activities โ†’ files.
  3. Bulk API 2.0 through an ETL tool or Data Loader CLI; sort children by parent to reduce locks; serial mode if needed.
  4. Defer sharing calculation for the big ownership loads, then recalculate.
  5. Track progress per object with counts.

After

  • Reconcile counts and key totals per object; sample checks by business users.
  • Turn automation back on; run any post-load recalculations (rollups, territory assignment).
  • Rollback plan: the legacy system stays read-only until sign-off; delete-by-external-ID scripts ready if go/no-go fails.

โœ” Key points to hit

โœ– Red-flag answers

  • Using the Import Wizard
  • Loading into production without rehearsal
  • Forgetting automation that sends emails
  • No reconciliation

โ†ช Follow-ups

How do you migrate files and attachments?

As ContentVersion records (base64 or file paths through Data Loader or an ETL tool), linked with ContentDocumentLink after the parent records exist. Files are often the slowest step, so test their volume early.

What if record locks slow the load?

Sort child records by parent, reduce parallelism or use serial mode, avoid loading records that update the same parent concurrently, and check that triggers aren't updating shared parent records.