In this post, we will talk about what is a sandbox in Salesforce and the different types of sandbox available in Salesforce. We will also learn when to use which Salesforce sandbox. The benefit of a Sandbox is you can do anything you like there without any risk of harm to the configuration or data contained in your Production environment.

What is Sandbox in Salesforce?

A Salesforce sandbox is an isolated copy of your organization’s production environment that is used for development and testing purposes. Your production environment has your live data and active users logging in. A Salesforce sandbox will always include a copy of your production organization’s metadata (objects, fields, page layouts, etc.) but it may or may not include a copy of your production organization’s data (account records, contact records, files, etc.).

  1. Copy of your Salesforce Org/Production as a separate environment
  2. Development, Testing, and Training

Types of Sandbox in Salesforce

There are 4 types of Salesforce sandbox environments.

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

Different Sandbox Types in Salesforce

Let see the difference between all of them.

Salesforce Sandbox types
Type Of Sandbox

1. Developer Sandbox

Developer sandboxes are special configuration sandboxes intended for coding and testing by a single developer. Just like Developer Pro sandboxes, Developer sandboxes copy all application and configuration information to the sandbox. Developer sandboxes are limited to 200 MB of test or sample data, which is enough for many developments and testing tasks. You can refresh a Developer sandbox once per day.

  • REFRESH LIMIT- Daily
  • DATA LIMIT- 200MB

2. Developer Pro Sandbox

The main difference between this and Developer is the amount of data that can be stored.  It also grabs some product data from production.  If those two things are important, use this one. Developer Pro sandboxes copy all of your production organization’s reports, dashboards, price books, products, apps, and customizations under Setup, but exclude all of your organization’s standard and custom object records, documents, and attachments. It can only include up to 1 GB of data. You can refresh a Developer Pro sandbox once per day.

  • REFRESH LIMIT- Daily
  • DATA LIMIT- 1GB

3. Partial Copy

What is partial copy sandbox in Salesforce? Partial Data sandboxes include all of your organization’s metadata and add a selected amount of your production organization’s data that you define using a sandbox template. A Partial Data sandbox is a Developer sandbox plus the data you define in a sandbox template. It includes the reports, dashboards, price books, products, apps, and customizations under Setup (including all of your metadata). Additionally, as defined by your sandbox template, Partial Data sandboxes can include your organization’s standard and custom object records, documents, and attachments up to 5 GB of data and a maximum of 10,000 records per selected object. A Partial Data sandbox is smaller than a Full sandbox and has a shorter refresh interval. You can refresh a Partial Data sandbox every 5 days.

  • REFRESH LIMIT- 5 Days
  • DATA LIMIT- 5GB

4. Full Copy Sandbox

Full sandboxes copy your entire production organization and all its data, including standard and custom object records, documents, and attachments. You can refresh a Full sandbox every 29 days.Sandbox templates allow you to pick specific objects and data to copy to your sandbox, so you can control the size and content of each sandbox. Sandbox templates are only available for Partial Data or Full sandboxes.

  • REFRESH LIMIT- 29 Days
  • DATA LIMIT- Same as Production

Sandbox Allocations

Each type has different features to support the activities it’s designed for

Sandbox TypesProfessionalEnterprisePerformance**Unlimited
Developer1025100100
Developer Pro55
Partial Copy111
Full copy11
Sandbox Allocations

How to create or edit Sandbox Templates

Sandboxes can easily be created from your production org by headings into the Setup menu in the back-end of Salesforce, and typing in “Sandboxes” into the quick search.

  1. From Setup, enter Sandboxes in the Quick Find box, select Sandboxes, then click the Sandbox Templates tab.
  2. Click New Sandbox Template or click Edit next to an existing template you want to modify.
  3. Enter a name and description for the sandbox template.
  4. To add objects to the template, select the checkbox for each object you want from the available Objects list.The Object Details section shows you the objects to be added automatically with the one you’ve selected.
  5. To remove objects from the template, deselect the checkbox for the object in the available Objects list.If you remove an object you previously selected, dependent objects you didn’t explicitly select are removed. If you attempt to remove an object with dependent objects, you receive a warning requesting confirmation of the removal. After you confirm your choice, those objects are also removed.
  6. Click Save.

When to use which Sandbox in Salesforce?

Learn more about when you should which type of Sandbox on our Salesforce Testing post. Also Check sandbox design strategies. Where you will learn about how to make environment strategies for different organization base on branching strategies for Salesforce.

Use CaseDeveloperDeveloper ProPartial CopyFull
Build
Proof of Concept
QA
Integration Testing
Batch Data Testing
Training
User Acceptance Testing
Performance or Load Testing
Staging

Let’s have a look at when we should which sandbox in Salesforce.

FAQ’s

Are Salesforce sandboxes free?

Only few sandboxes come free with different organizations.
Sandbox Allocations In Salesforce

How many Salesforce sandboxes are there?

There are 4 types of different salesforce sandboxes are in Salesforce.

Summary

Salesforce sandbox is copies of your production org which contains all the configuration, customization, app, and code. Some sandbox contains the some or call database on sandbox type. I hope this session helped you to understand what is Salesforce Sandbox and the different types of Sandboxes in Salesforce.

Amit Chaudhary
Amit Chaudhary

Amit Chaudhary is Salesforce Application & System Architect and working on Salesforce Platform since 2010. He is Salesforce MVP since 2017 and have 17 Salesforce Certificates.

He is a active blogger and founder of Apex Hours.

Articles: 461

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *