4: Data and Analytics Management

    Data Import, Update, Transfer, Mass Delete, Export, and Backup Considerations

    Moving records into and out of a Salesforce org is a tool-selection exercise long before it is a clicks-or-API exercise. The admin's job is to read the requirement (which object, how many records, insert versus update versus upsert, one-off versus recurring, who owns the result, what happens to deleted rows, can the file contain duplicates) and pick the path that respects every constraint at once. Picking the wrong tool is the most common mistake the exam tests, because the consequences cascade: an upsert routed through the Data Import Wizard silently truncates a fifty-thousand-row file, a delete pushed through the Data Loader without the hard-delete flag fills the Recycle Bin, and a transfer of leads through the lead-import path bypasses lead-assignment rules unless the option is explicitly ticked.

    The two declarative options the exam treats as equal first-class citizens are the Data Import Wizard (a browser wizard built into Setup) and Data Loader (a client-side application that the admin downloads from Setup). The Wizard accepts up to 50,000 records per job and supports a fixed list of standard objects (Accounts, Contacts, Leads, Solutions, Campaign Members, Person Accounts) plus every custom object. It runs duplicate matching against an admin-selected key during the import itself, which is the single biggest reason to prefer it for first-time customer-data loads. Data Loader accepts up to five million records per job, supports every standard and custom object the API exposes, and adds upsert, hard delete, and export operations that the Wizard cannot perform. Data Loader can be invoked from the GUI for ad-hoc work or from the command-line interface for scheduled jobs, which is the lever for any recurring nightly extract.

    Transfer is a third operation that lives outside both tools as a dedicated Setup page: Mass Transfer Records (Setup, Data Management, Mass Transfer Records) reassigns ownership of Accounts, Leads, or custom objects to a new owner, optionally transferring associated open opportunities, closed opportunities, open cases, and closed cases. Mass Transfer Approval Requests is a separate page for reassigning pending approvals when a delegated approver leaves the company. Neither operation is achievable through the Data Import Wizard, and although Data Loader can update OwnerId via an update job, the exam still expects the Mass Transfer page as the declarative answer when the wording matches.

    Mass deletion has two declarative paths. Mass Delete Records (Setup, Data Management, Mass Delete Records) deletes up to 250 records per run from a small fixed list of objects (Accounts, Leads, Activities, Contacts, Cases, Solutions, Products, Reports). It is the right answer when an admin needs to remove obsolete records without touching the API. Data Loader supports unlimited row counts within the five-million-per-job ceiling and adds the Hard Delete operation, which skips the Recycle Bin and triggers the BulkAPIHardDelete user permission. Records hard-deleted are not recoverable and do not count against the Recycle Bin limit of 25 times the storage allocation expressed in records.

    Picking the right import or update tool

    The decision tree below resolves the most common scenarios into a single tool answer. Read the leaves as the value the exam expects when every other constraint is satisfied; if a row count, scheduling need, or operation cannot be met by the wizard, the answer moves to Data Loader regardless of how the question frames "the easiest tool".

    The branch on duplicate matching deserves attention because the exam often pairs it with a stem that mentions "the team uploads new Contacts every Monday and wants to avoid creating duplicates". Data Loader does not run duplicate rules during inserts unless the org's duplicate rule for the target object is configured to run on insert and the Data Loader user has not bypassed the rule; the Wizard's matching is built into the upload screen itself and is the more reliable lever for one-time cleanups.

    CapabilityData Import WizardData LoaderMass Transfer RecordsMass Delete Records
    Maximum records per job50,0005,000,000All matching the filter250
    Supported objectsAccounts, Contacts, Leads, Solutions, Campaign Members, Person Accounts, all custom objectsEvery standard and custom object exposed via the APIAccounts, Leads, custom objectsAccounts, Leads, Activities, Contacts, Cases, Solutions, Products, Reports
    OperationsInsert, Update, Upsert (one external ID key)Insert, Update, Upsert, Delete, Hard Delete, Export, Export AllOwner change with related-record cascadeSoft delete only
    Duplicate matching during the runYes (built-in field-match step)Only if the org's duplicate rule is active for the objectNoNo
    Schedule via command lineNoYes (Data Loader CLI on Windows)NoNo
    Trigger workflow rules and flowsYes (option per object)Yes (default; can be suppressed with Bulk API setting)YesYes
    Returns success and error CSVsNo (summary email only)Yes (success and error CSVs per job)Owner change reportBrowser confirmation only

    Update versus upsert versus insert

    Insert creates new rows and fails any row whose external ID is already present (when an external ID column is mapped). Update modifies existing rows by Salesforce ID or by a designated external ID field; rows that do not match an existing record fail. Upsert is the merged operation: rows that match are updated, and rows that do not match are inserted. The exam tests upsert most often in the Lead-to-Account integration scenario, where the file contains both new and known customers and the team wants one job rather than two passes. Only one external ID can serve as the upsert key per job, and that field must be marked External ID and Unique on the object before the file is uploaded.

    💡 Exam Trap: Data Loader is the only declarative tool that performs upsert. A stem that says "the team has a single CSV mixing brand-new and existing records and wants a single load" rules out the Data Import Wizard regardless of row count.

    📊 Limit: Data Import Wizard accepts up to 50,000 records per import; Data Loader accepts up to 5,000,000 records per job and up to 10,000 records per batch in Bulk API mode.

    ⚠️ Anti-Pattern: Performing a delete-then-insert cycle to "refresh" a small custom-object table when an upsert against the existing external ID would preserve relationships, audit trail, and downstream references. Hard-deleting records that are referenced by master-detail children breaks the children silently when the children are also cascade-deleted.

    Backup and export options

    Backup is the operation least covered in Trailhead's beginner trail and the one most likely to surface a distractor. Salesforce offers three backup paths the exam will recognize, plus one that has been retired. Data Export Service (Setup, Data Management, Data Export) is the declarative weekly or monthly scheduled export available on most editions; it produces a set of zipped CSV files emailed to the admin. It supports including or excluding images, attachments, Chatter files, and documents per run. Data Loader Export and Export All operations produce the same kind of CSV output on-demand for a single object at a time, with Export All including records in the Recycle Bin. The third path is Salesforce Backup and Restore, a paid product that retains record-level backups and supports targeted restore by record, object, or org; it is the answer when the stem emphasises "restore individual records back into the original relationships" rather than "extract a copy of the data once a week".

    The retired path is the legacy weekly export tied to the Enterprise edition; current guidance for any edition is the Data Export Service plus a backup product or partner solution for granular restore. The exam will not ask for the retired tool by name, but it will pair "the team wants a free, scheduled, full-org export of data and attachments" with the Data Export Service. It will pair "the team wants record-level restore after an accidental mass delete" with Salesforce Backup and Restore or a partner backup product, because Data Export Service produces files, not a restore engine.

    Backup or export optionCadenceGranularityRestore experience
    Data Export ServiceWeekly on Enterprise, Performance, Unlimited; monthly on Professional, DeveloperFull org, all selected objectsManual reload via Data Loader using exported CSVs
    Data Loader Export and Export AllOn demand or via CLI scheduleOne object per job, with optional SOQL filterManual reload via Data Loader insert or upsert
    Salesforce Backup and RestoreDailyRecord, object, or orgIn-product restore wizard
    Partner backup appProvider-definedProvider-definedProvider-defined

    Reassigning ownership and the Mass Transfer page

    Transfers carry sharing and visibility consequences the import tools do not. When ownership of an Account moves to a new user, the related contacts and opportunities follow the Account's ownership rules; open opportunities owned by other users can be optionally transferred via the Mass Transfer screen's checkbox. Mass Transfer Records does not touch parent-child relationships, only owner references and selected related records. The page is gated by the Transfer Record permission on the relevant profile or permission set, plus Read access on both the source and destination users for the records being moved.

    🎯 Scenario: A regional sales lead changes territories. The admin needs to move 4,200 Accounts and their open opportunities to the replacement lead and keep all closed opportunities with the prior owner for historical attribution. Mass Transfer Records is the right tool: it accepts the source-and-destination users, filters by Account criteria, transfers Accounts with their open opportunities, and leaves closed opportunities untouched. Data Loader would also work via an Update job on Account.OwnerId, but it would not give the open-versus-closed opportunity split in one pass.

    Triggering automation during a load

    Every bulk load decides whether it triggers automation, and the exam will probe this lever in scenarios where a load creates records that should fire validation rules or downstream flows. Data Import Wizard offers a per-object checkbox labeled "Trigger workflow rules and processes for new and updated records". Even with the checkbox cleared, the wizard still fires apex triggers, validation rules, and assignment rules; it suppresses only the legacy Workflow Rules and Process Builder paths, both of which have been retired in favour of Flow. Data Loader exposes a Bulk API setting that, when enabled with the "Disable bulk API insert/update operations from triggering automated processes" preference, bypasses certain automation; the default Bulk API path still fires record-triggered flows.

    💡 Exam Trap: A scenario that says "the validation rule fired on every row" rules out the answer "the admin should disable triggers in the Data Import Wizard"; validation rules are not the workflow-rules-and-processes checkbox, and they are not suppressible from the wizard. The fix is to either prepare the data to satisfy the rule or deactivate the rule for the duration of the load.

    Lead import and lead-assignment rules

    Lead import deserves a paragraph because it is the only standard object whose import journey includes a dedicated assignment-rule checkbox. The Data Import Wizard, when importing Leads, offers an option to run the active Lead Assignment Rule against every imported row. Without that option, leads land owned by the importing user and stay there. Campaign Member imports also run through the wizard and require the Campaign and member-status columns; member-status values must already exist on the campaign or the row fails.

    Decision Anchor: Choose the Data Import Wizard when the volume is ≤50,000 rows, the object is on the supported list, the operation is insert or update, and built-in duplicate matching is needed. Choose Data Loader when any of those constraints fails: more than 50,000 rows, an unsupported object, upsert or hard delete or export, scheduling via the command line, or the need for per-row success and error CSVs. Choose Mass Transfer Records when the operation is ownership reassignment with optional related-record cascade. Choose Mass Delete Records when the operation is a soft delete of ≤250 rows from the page's fixed object list. Choose Salesforce Backup and Restore when the requirement is record-level restore rather than file-level export.


    Continue with the interactive course

    Track your progress, jump into practice questions and use the Shark AI tutor inside the Salesforce - Platform Administrato learning hub.