A mock data migration dress rehearsal runs the full load, reconciliation and sign-off sequence against a production-like Salesforce environment before cutover. The point is to surface timing problems early: load windows that overrun, objects that load out of dependency order, and validation steps that take longer than the plan allows.
Why a dress rehearsal goes beyond a test load
A test load answers a narrow question: do the records map correctly, and do they pass validation? A dress rehearsal asks a wider set of questions. Does the whole sequence fit inside the cutover window? Do the people running each step know what they are doing? Does the team know what happens when a step fails late in the night? Answering those needs a run that resembles cutover from start to finish, not a collection of separate tests.
A sandbox gives you a place to test deployment steps and migration scripts before anything touches live data. Performance still depends on volume, though. A rehearsal on a thin sample of records shows very little about timing, so plan the run around the environment and the record counts you will actually cut over with.
Setting scope and entry criteria before the first run
Write down which objects move in the rehearsal and the order in which they load. Use the same list and sequence you intend for cutover. A rehearsal that leaves out a small object, or loads it on a different day, measures a different process from the one you will run on cutover day.
Source data quality should be settled before the first run. The Salesforce data quality and migration hub covers the cleanup work that usually comes before a load. A rehearsal on uncleaned data can show failures that the cleanup would have removed, which makes the timings harder to read.
Entry criteria are the conditions that must hold before the rehearsal starts. Typical ones are a target environment on the metadata release you plan to deploy, a data volume close to the expected production count, a source extract with a recorded cut-off time, and a named owner for each object who is available for the full window. Record each check with a date and a name, so the report shows what was tested rather than what was assumed.
Check the sandbox refresh timing as well. A refresh replaces the sandbox data with a fresh copy of production, so find out when the next one falls relative to your rehearsal dates. A refresh that lands between the first and final run changes the data you are testing against, and reconciliation counts from the earlier run may no longer apply.
Building the rehearsal runbook
The runbook is the document the team follows during the run. Keep it short enough to read under pressure and complete enough that someone who did not write it can carry it out. Five sections cover what the run needs:
- Prerequisites. Access, credentials, extract locations, load tool versions, and the state the environment must be in before the first step.
- Execution steps. Each step numbered, with an owner, an expected start time, an expected duration and the tool or screen used.
- Validation checks. Counts, key-field comparisons and business checks that show a step worked, with the expected result written next to each one.
- Rollback procedures. The trigger for rollback, who makes the call, and the steps that return the environment to a known state.
- Communication plan. Who is told when a step starts, finishes or fails, and through which channel.
Draft the rollback section before the first run, not after the first failure. Teams that write rollback steps during an overrun tend to skip the checks they would have made with more time. The rollback decision is often harder than the rollback itself, because it depends on how far the load got and which downstream processes have already read the new records.
Running the load, reconciliation and sign-off sequence
Run the rehearsal from start to finish without pausing to fix problems, unless a step would damage the environment. Stopping to patch mid-run hides the timing you are trying to measure. Log each problem and fix it in the next cycle.
A typical run follows this order:
- Freeze the source extract and record the cut-off time and the record counts at the source.
- Load parent objects before the children that reference them, following the dependency order in the plan.
- Reconcile counts and key fields for each object against the source extract.
- Run the business validation checks that the named owners agreed to in advance.
- Collect sign-off from each owner for their objects, noting the time and any exceptions they accept.
Reconciliation is where rehearsals often surface surprises. Duplicate records, records that fail a validation rule at full volume, and child records whose parents were rejected all show up at this stage. Duplicate candidates usually need a human decision, and the data steward duplicate review routine describes how to set up that decision cycle before the rehearsal begins.
Record sign-off per object, not as a single approval at the end. Each owner confirms their objects, notes the time, and lists any exceptions they accept. An open exception with no owner is a blocker for the go decision and should be logged as one.
Measuring timing and finding the slow steps
Record the start and end time of each step in each run. Totals alone can hide the problem. A rehearsal can finish inside the window while one step uses up the bulk of the slack, and the next run with a larger extract will break at that step.
Compare each run with the one before it. Automated monitoring that compares metrics before and after a change applies the same idea to data loads: take a baseline, run, and flag any step drifting beyond its expected time.
Watch for transaction limits. Salesforce applies governor limits to keep shared infrastructure fair, and a load that passes on a small sample can reach those limits at production volume. When a step fails only at scale, batch size or the number of operations packed into one transaction is often the cause, not the data itself. Test at full volume in the rehearsal so that failure appears there and not on cutover night.
Batch jobs need separate attention. A batch that fails partway can leave records half loaded, with downstream processes reading them before anyone notices. Set up the rehearsal so each failure is visible at the step where it occurs, and write a stop rule for each batch that says when to halt and who decides.
Rehearsing the rollback decision
Rehearse the rollback path, not just the forward load. Decide in advance what triggers a rollback. Common triggers are a reconciliation count outside tolerance, a step that overruns its window by an agreed margin, or a failure in a validation check the business owner marked as blocking. Write each trigger as a number or a named condition, because a phrase such as “if it looks wrong” cannot be tested.
Assign one person the authority to call a rollback, with a named backup. During the run, the person who makes the call should not also be fixing the load. Split those roles, or the decision gets made under the pressure of the fix.
A pre-load snapshot can help, but check what it covers. A snapshot taken before the load may not capture changes from integrations or scheduled jobs that run in the same window. List each process that writes to the objects in scope, and decide whether it is paused during the rehearsal and again during cutover.
Deciding go or no-go after each cycle
Hold a short review after each run, using a blameless format: what happened, why it happened, and what changes in the runbook before the next cycle. The aim is to find causes in the plan and the process rather than fault in the person who ran the step. Blameless reviews tend to bring out near misses, and near misses often carry the clearest information.
A rehearsal supports a go decision when the latest full run finished inside the cutover window, reconciliation exceptions are explained and owned, the rollback trigger was tested, and each owner has signed off. If a run fails late, fix the cause and run the full sequence again, because partial reruns leave gaps in the timing data. For help planning this work, see Salesforce implementation.
Questions about rehearsal count, tooling and sign-off
How many rehearsal runs should a migration complete before cutover?
There is no fixed number. Plan for at least two full runs so the second one can confirm that the fixes from the first did not create new timing problems. Keep running until a complete run finishes inside the window with its reconciliation exceptions explained. If the volume or the object list changes late, schedule another full run rather than relying on timings from an earlier one.
Should the rehearsal use the same load tool as cutover?
Yes, wherever the tool choice is still open, use the tool you plan to run at cutover. Switching tools between rehearsal and cutover means the timings measure a different process. The page on choosing Salesforce data loader options for migration covers that comparison, so settle the choice early enough for the rehearsal to test it.
Does a dress rehearsal replace user acceptance testing?
No. A rehearsal checks that the data moves through the process in the right order and inside the window. It does not check whether users can work with the loaded records in their daily screens and reports. Run user acceptance testing against the rehearsal data, but track its results as a separate sign-off stream with its own owners.
Who should be on the rehearsal team?
Include the person who runs each step, a validator for each object, a decision maker for rollback, and an owner of the communication plan. Teams without that bench often combine roles. That can work for a small object list, but it makes timings harder to trust, because the person running a step is also judging whether its output is right.