Data migration · Checklist

A good migration checklist is the difference between a calm go-live and a week of error files at 11pm. Here are the six phases in the order you’ll actually do the work, with links to the step-by-step tutorial for every fiddly part.

6 phasesplan to go-live
12 objectsin load order
1 Legacy IDon every object
0 surprisesif you rehearse in a sandbox
On this page
  1. The six phases
  2. 1 · Plan
  3. 2 · Extract
  4. 3 · Prep the org
  5. 4 · Transform and map
  6. 5 · Load order
  7. 6 · Validate and go live
  8. Common mistakes
  9. FAQ
Talk about your migration
The short version

Six phases, every migration.

Legacy CRM, SQL database or another Salesforce org, it’s the same six phases. Bookmark this and feel free to pretend you came up with it yourself.

  1. Plan: what’s moving, where it lands, and when.
  2. Extract: get the source data out and look at it. Really look at it.
  3. Prep the org: fields, settings, and switching off anything that might fight you.
  4. Transform and map: turn legacy chaos into CSVs Salesforce will accept.
  5. Load: parents first, kids second, always.
  6. Validate and go live, then remember to turn everything back on.
Phase 1

Plan and scope.

Most migration disasters start here, before anyone opens Data Loader. A clear scope stops the project growing every time someone says “oh, we also have this spreadsheet.”

  • List every source system: each database, spreadsheet and app holding data you might move, plus who owns it
  • Decide what’s out of scope. Agree cutoffs for old activities, closed opportunities and inactive contacts before you map
  • Map source tables to objects, standard and custom
  • Pick a cutover approach. Big bang is simpler. Phased is lower risk, but needs delta loads
  • Pick your tools. Data Loader handles most migrations. Bigger or recurring ones might justify an ETL tool
  • Get sign-off in writing on scope, cutoffs and the go-live window, so nobody “remembers it differently” three weeks in
Phase 2

Extract and profile the source.

You can’t map data you haven’t looked at. This is where you find out how bad it really is.

If the export came from a system nobody at the client can explain any more, the free source analysis Claude skill reads the whole folder of CSVs on your machine and hands back a workbook: what the tables are, how they connect, and every data-quality problem worth an email on day one.

  • Get a full extract as CSV. SQL backup? Extract the tables with Navicat
  • Don’t touch the raw extract. Make it read-only and work on copies
  • Write down the row count of every table. Phase 6 needs them
  • Find the keys: each table’s primary key and the foreign keys between them. These become your Legacy IDs
  • Profile the quality: duplicates, blank required values, bad emails, inconsistent dates, picklist values Salesforce has never heard of
Phase 3

Get the target org ready.

Prepping the org prevents most of the errors people blame on Data Loader. (Data Loader is usually innocent.)

Fields and settings

  • A Legacy ID on every object you load, Text, marked External ID. Why legacy IDs belong in External ID fields (I have feelings about this)
  • Custom fields and picklist values. Old values for historical records can go in as inactive values
  • Collect field API names: free tools that grab them fast, or TurboKit right on the page
  • Preserving history? Enable Set Audit Fields upon Record Creation, and Update Records with Inactive Owners if old owners won’t be active
  • Check storage and licenses for the data, the files and everyone you’ll activate

Automation bypasses

  • Bypass validation rules. Your legacy data has never met them, and they won’t get along. Validation rule bypass
  • Bypass or deactivate Flows before they send emails, create tasks or overwrite your values: bypass with a custom permission or mass deactivate
  • Email Deliverability: System email only during loads, unless you’d like customers getting surprise notifications
  • Duplicate and assignment rules: decide whether they run or take a nap
Phase 4

Transform and map.

This is where the hours go. The goal: CSVs Salesforce accepts on the first try. (A beautiful dream, but we aim high.)

  • A field mapping document: for every target field, the source field, the API name and the transformation rule
  • API names as CSV headers so Data Loader auto-matches every column
  • Standardize values: dates to YYYY-MM-DD, booleans to TRUE/FALSE, legacy picklist values to their new equivalents
  • Swap names for IDs. Owner, Profile, Role and Record Type want IDs, so build a user map from legacy owners to new users
  • 18-digit IDs in Excel. 15-digit IDs are case-sensitive and VLOOKUP doesn’t care about case. The 18-digit ID formula
  • Dedupe before you load. Merging rows in a spreadsheet beats merging records in Salesforce
Phase 5

Load in the right order.

Salesforce won’t let a child show up before its parent exists, which, fair. Slot custom objects in where they belong.

#ObjectWhat to know
1UsersInsert inactive to save licenses. Importing Users
2AccountsParent of almost everything. Inserting Accounts
3ContactsRelate to Accounts by the Account Legacy ID
4LeadsInserting Leads. Converted Leads are their own adventure
5Campaigns, Campaign Member StatusesStatuses are records, not a picklist. Campaign Member Status
6Campaign MembersAfter the Campaign and the Lead or Contact exist
7Products, Price Books, EntriesLoading Products
8Opportunities, Contact RolesRelate by Legacy ID
9Opportunity ProductsNeeds Opportunities and Price Book Entries
10CasesRelate to Accounts and Contacts
11Tasks, Events, EventRelationsInserting Events
12Notes and FilesLast, once every parent exists. Inserting Files

How to run every load

  • Rehearse the whole thing in a sandbox before going near production
  • Test each object with 10 to 50 records before the full file
  • Save every success and error file. They’re your audit trail, and the success file has the new IDs for child loads
  • Fix and reload only the failures. The 5 common Data Loader errors
  • Upsert on Legacy ID whenever you re-run, so you update instead of duplicating
Phase 6

Validate and go live.

Zero errors doesn’t mean it worked. Prove the data is right before users depend on it.

  • Reconcile record counts against your Phase 2 baseline, minus what you left out on purpose
  • Spot-check end to end: a few Accounts with their Contacts, Opportunities, activities and Files
  • Check Owner, Created Date and Created By against the legacy system
  • Run key reports with business users. If the people who live in them say the numbers look right, you’re close
  • Turn automation back on: validation rules, Flows, duplicate rules, Email Deliverability. The step everybody forgets, so set a reminder
  • Activate users and send logins. Data Loader doesn’t send welcome emails
  • Run a delta load for anything created or changed since the extract
  • Retire the legacy system: read-only, raw extracts kept per your retention policy
The greatest hits

Common migration mistakes.

  • Loading children before their parents exist
  • Skipping the Legacy ID field, which makes relationships and re-runs miserable
  • Loading straight into production with no sandbox rehearsal
  • Using 15-digit IDs in Excel lookups
  • Forgetting to turn automation and email back on
FAQ

The questions people ask.

How long does a Salesforce data migration take?
It depends (sorry). Volume, number of sources and data quality all matter. A small clean one can take a couple of weeks; a complex one, months. Most of the time goes into mapping and cleanup, not the loads.
What order should I load data in?
Parents before children: Users, Accounts, Contacts, Leads, Campaigns, Products, Opportunities, Cases, activities, then Notes and Files.
Can I keep the original Created Date?
Yes. Enable Set Audit Fields upon Record Creation and give the loading user the permission. Audit fields can only be set on insert, so get it right the first time.
Do I need a sandbox?
Yes, always. A full or partial copy lets you test the whole load order and time each step before go-live.
Data Migration Masterclass

Want the whole thing walked through?

The Masterclass takes you through every phase of a real migration step by step, with a community of people doing the same work.

Know someone with a migration coming up?

Share on LinkedIn
Doing this for a whole org, not just one object?

One CSV is a tutorial. Forty objects, 15 years of history and a go-live date is a project. That’s the part I do for a living.

See how I run migrations →