You are using an older browser that might negatively affect how this site is displayed. Please update to a modern browser to have a better experience. Sorry for the inconvenience!

Sandbox Overview

By: Venkata

Salesforce allows you to create multiple copies of your production organization in separate environments for different purposes, like testing, development and training, without affecting data and applications of production instance. These copies are called Sandboxes.

Sandboxes are similar to Production instance but isolated from real Production environment. So, the changes you make in Sandbox will not be affect the production instance, and vice versa.

Sandbox Types
Salesforce provides four types of Sandboxes:

  1. Developer Sandbox
  2. Developer Pro Sandbox
  3. Partial Copy Sandbox
  4. Full Copy Sandbox

Developer Sandbox

  1. A developer sandbox contains a copy of production’s metadata.
  2. Using Developer Sandbox, you can create configuration data, like workflow, approval process, reports, dashboards and code. Also, you can use it as a testing environment.
  3. It does not copy the data from Production.
  4. There is a maximum of 200 MB data that can be created.
  5. A developer sandbox can be refreshed once per day.

Developer Pro Sandbox

  1. Developer pro sandbox mainly used for development and testing purposes, like the Developer Sandbox.
  2. However, it has larger storage than the Developer Sandboxes. So, it allows for more robust test data sets, and enables this environment to handle more development and quality assurance activities.
  3. Developer Pro sandboxes have a 1 GB storage limit and it can be refreshed once per day.

To understand more about types of Sandboxes and how to create Sandbox instances, please read these tutorials:
Salesforce Sandboxes Overview
How to create or refresh a Salesforce Sandbox?

Partial Copy Sandbox

  1. Partial Copy Sandboxes are mainly used for quality assurance purposes, such as user acceptance testing, integration testing and training.
  2. This sandbox contains the copy of production organization’s metadata and data which is defined by a sandbox template.
  3. Storage limit is 5 GB and it can be refreshed once in 5 days.

Full Copy Sandbox

  1. This sandbox is a replica of Production instance, including all data, like object records and attachments.
  2. Full Copy Sandboxes are used for testing purpose.
  3. It supports all performance testing and load testing.
  4. Storage limit is same as Production instance.

Creating a Sandbox

  1. Follow the below steps for creating a new sandbox.
  2. Click Setup -> Data Management -> Sandboxes
  3. Click -> New Sandbox

sbo2309-1.png4) Enter Sandbox Name and Description in the corresponding fields.

5) Select the type of sandbox you want.

6) Select the data which you want to push into your sandbox (This option is only available for a Partial Copy or Full sandbox).

7) Click -> Create.

Please read here to understand more about the types of Salesforce Sandbox environments: Understanding Types Salesforce Sandbox Environments
Now the sandbox has been created successfully.

Refreshing a Sandbox

  1. You can refresh an existing sandbox to update it with the latest data from your production organization.
  2. Click -> Refresh link available next to the Sandbox name
  3. Select the data you want to copy ( This option is available only, if you are refreshing the Full or Partial Copy Sandboxes)
  4. Click -> Refresh. Now, Salesforce starts to copy the metadata changes and data from Production to the selected Sandbox instance.

Once the refresh is complete, you have to activate the sandbox before using refreshed data.

Creating or Editing Sandbox Templates
Sandbox template controls what objects/data are moved from production to sandbox. When creating / refreshing a full or partial copy sandbox, you should select the objects/data to copy to the sandbox.

Follow the below steps to create a Sandbox Template:

  1. Click -> Setup -> Data Management -> Sandboxes
  2. Click -> Sandbox Templates tab
  3. Click -> New Sandbox Template

sbo2309-6.png4) Enter the Name and Description for Sandbox Template

5) Select the checkbox for each object you want to move data

sbo2309-7.png6) Click -> Save.

The Sandbox Template has been created successfully. To learn more about creating or editing Sandbox Templates, please visit here: [Creating or Editing Salesforce Sandbox Templates |]

It is a best practice to use Sandbox environment for all the development as well as testing activities, since the Sandbox creation will not affect any original Production data. So, once the development and testing are complete in sandbox, we can deploy the changes to production.