LogoLogo
TrustAPI Docs
  • Application
  • Support
  • Platform
  • Infrastructure
  • Security
  • Notices
  • Overview
  • Protect Data
    • Auto Backup
      • Auto Backup API Usage
      • Supported Objects
      • Delete Tracking
      • Salesforce Metadata Backup
      • Missing Field Permissions
      • Viewing Records
      • Viewing Files
    • Archive
      • Support for Big Objects
    • Restore
      • Restore Best Practices
    • Purge
  • Reuse Data
    • Global Search
    • Data Lake (formerly History Stream)
      • AWS Data Lakehouse
      • DuckDB Data Lake
      • Heroku Data Lakehouse
      • Azure Data Lake
      • Data Lake FAQ
      • Data Lake v1 (formerly History Stream)
    • Salesforce Sandbox Seeding
      • Sandbox Seeding Walkthrough
    • Public API
    • Managed Package
      • Second Generation
        • Features
        • Install
        • Update
        • Uninstall
      • First Generation
        • Features
        • Configure
        • Uninstall
        • Migrate
      • Frequently Asked Questions
  • Other
    • Settings
      • Connecting Salesforce
      • Connecting Storage
      • Sandbox Refresh
    • Notifications
    • Permissions
      • Integration User
      • Integration User Scripts
    • Troubleshooting
      • Debugging Salesforce Triggers
    • Auto Updates
On this page
  • Prerequisites
  • Log into the Source Org
  • Pick a Seed Target
  • Pick a Seed Source
  • Preview and Run the Seed
  • Review Seed Data
  • Frequently Asked Questions

Was this helpful?

Export as PDF
  1. Reuse Data
  2. Salesforce Sandbox Seeding

Sandbox Seeding Walkthrough

Last updated 1 month ago

Was this helpful?

Copyright © 2025 GRAX, Inc.

This guide walks you through your first Sandbox Seed in 10 minutes. This walk through is also available as a

Prerequisites

This walk through requires two Salesforce orgs and one GRAX deployment with full Auto Backup.

  • "Source" production SFDC org with:

    • Data in SFDC such as many Accounts hierarchies to see

    • A report in SFDC such as "GRAX Training Accounts" that finds all accounts that have "Training" in the name

  • GRAX Application with full Auto Backups of the Source org

  • "Target" sandbox or production SFDC org with:

    • Schema matching the source org, but no data as made by SFDC sandbox refresh tooling

Here we will use:

  1. which you can

  2. GRAX "Test Drive" App which you can

Log into the Source Org

First .

GRAX has a "Sandbox Seeding User" permission to grant access to perform search and seeding operations, but not access to settings, archive tooling, etc.

Pick a Seed Target

Here we have a Demo Restore org pre-configured as a target.

Pick a Seed Source

Next configure the data you'd like to see.

Then in the GRAX seeding source tool select the Report option and select the Training Accounts Report.

Preview and Run the Seed

Now click through the seeding tool to preview the data hierarchy, record count. Here we see the report includes 3 Accounts and 100s of child Assets, Contacts, Cases, etc.

Continue to click through to execute the seed. After a final confirmation the seeding activity will start and show all the progress, success, or errors.

Review Seed Data

With a few clicks we've taken data from one Salesforce org to another, giving your development team a good dataset in a sandbox to work against.

Frequently Asked Questions

How Does Seeding Handle Errors?

After a seeding operation, there is a results page that shows a summary of all the data creating including success and errors.

One of the most common sources of errors in seeding is conflicts from the target containing existing data. If this is due to a previous seed, you can use the "Undo Seed" tool which deletes everything created by the seed.

If this is not from a seed, you can delete data with an Apex script or other SFDC tooling then try again.

List<User> userList = [Select Id from User where Alias='GSale'];
if (userList.size()>0){
    System.debug('Deleting Everything Created By: ' + userList[0].Id);
    List<Asset> assetResult = [SELECT Id FROM Asset where CreatedById=:userList[0].Id];
    delete assetResult;
    List<Case> caseResult = [SELECT Id FROM Case where CreatedById=:userList[0].Id];
    delete caseResult;
    List<Opportunity> oppResult = [SELECT Id FROM Opportunity where CreatedById=:userList[0].Id];
    delete oppResult;
    List<Contact> contResult = [SELECT Id FROM Contact where CreatedById=:userList[0].Id];
    delete contResult;
    List<Account> acctResult = [SELECT Id FROM Account where CreatedById=:userList[0].Id];
    delete acctResult;
}

How Does Seeding Secure Data?

Seeding offers options to:

  • Anonymize data, which replaces all potential Personally Identifiable Information (PII) with mock data.

  • Pick objects in the hierarchy to skip

  • Override fields with default values

These options help you make sure no sensitive production data ends up in a sandbox.

How Does Seeding Handle Schema Mismatches?

Seeding assumes that the sandbox and production schemas match, as they do with the standard Salesforce Sandbox Refresh tooling.

However Seeding uses the same foundation as GRAX Restore, and contains a lot of smarts about schema mismatches. If a field doesn't exist in the sandbox schema, seeding will not include it. If an extra field exists, seeding will use the default or empty value, as well as let you override the field with a custom value.

Next .

Now go to and configure a Target org. Either add a Target org by connecting via OAuth, or reuse an existing one.

Here we will seed from a Salesforce report. In Salesforce, create a report with data you'd like to seed. For example this with all Accounts that have "Training" in the name. All reports with "GRAX" in the name or in a "GRAX" folder show up in the GRAX Application.

Finally if you log into you'll see all the data.

Seeding Product Demo Video
Source "Test Drive" org
log into the Test Drive org through the Salesforce App Exchange
log into with a quick link
Target "Demo Restore" org
log into the Source org
log into the GRAX Application
New Sandbox Seeding
GRAX Training Accounts Report
Target "Demo Restore" org