官术网_书友最值得收藏!

Playing with Sandbox

A Sandbox in Salesforce is a snapshot of your production environment on the date you create or refresh it. A Sandbox instance is created in a separate environment for a variety of purposes such as development, testing, and training, without affecting the data and configurations in your Salesforce production instance.

Some people may consider Sandbox as a backup of production data and configuration at a point of time, but this is wrong because you usually will use Sandbox for other purposes such as coding, testing, quality assurance, and staging. Sandboxes should not be considered as data backups for the following reasons:

  • Full Sandbox refresh is limited to once every 29 days.
  • The full Sandbox is only included in the Unlimited and Performance editions. For all others, it has to be purchased as an add-on to your subscription.

The Sandbox should be nearly identical to your production data and configuration. You need to refresh the Sandbox to apply the latest production configuration, data changes, and all existing configurations. Data in the Sandbox that hasn't been deployed in the production environment will be overwritten.

Tip

It is good practice to schedule a Sandbox refresh every month or quarter, depending on your organization's needs. When you have a big deployment, make sure you refresh the Sandbox to get the latest snapshot for support and for troubleshooting if any issues arise.

You may have multiple Sandboxes depending on your licenses or additional Sandbox purchases. Each Sandbox instance is isolated from other instances, so operations performed in one Sandbox will not affect other Sandboxes or your production environment. You can deploy Change Sets from one Sandbox to another Sandbox within the same Production org, also Change Sets are deployed from and to Production with the Sandbox.

Sandbox is only available for Enterprise Edition and above, but you can purchase Sandbox if you are using Professional Edition.

Types of Sandboxes

The different types of Sandboxes are:

  • Developer Sandbox: This is designed for coding and testing. It only contains the configuration (metadata) of your production environment.
  • Developer Pro Sandbox: This is similar to Developer Sandbox (designed for coding and testing), but it has a larger storage limit compared to Developer Sandbox. This allows more robust test datasets, allowing the environment to handle more development and quality assurance tasks.
  • Partial Copy Sandbox: This is designed for testing environments. It can also be used for quality assurance tasks such as user acceptance testing, integration testing, and training. It includes a copy of your production environment configuration and a subset of your production data as defined by the Sandbox template.
  • Full Sandbox: This supports full performance testing, load testing, and staging in addition to the tasks that you use other Sandboxes for. This Sandbox will have an exact copy of your production environment, including all the data and configurations at the time it was created or refreshed.

Configuring Sandbox

The option to configure Sandbox is only available for a production instance, not a Sandbox instance. Navigate to Setup | Sandboxes. You will see list of existing Sandboxes: Available Sandbox Licenses, Sandbox Template, and Sandbox History, as shown in the following screenshot:

Configuring Sandbox

In the screen that you see now, if you still have Sandbox licenses available, you will see the New Sandbox button. Then click on Create for the Sandbox type you would like to use. Otherwise, you can edit, delete, refresh, or log in to the Sandbox.

Developer and Developer Pro Sandboxes can be refreshed every day, while Partial Data can be refreshed once in 5 days, and Full Sandbox can be refreshed once in 29 days.

主站蜘蛛池模板: 长白| 当涂县| 大同市| 长子县| 成安县| 莆田市| 安龙县| 驻马店市| 沙湾县| 犍为县| 乌鲁木齐县| 北海市| 潞城市| 靖远县| 霞浦县| 乐山市| 石首市| 南丰县| 顺昌县| 抚宁县| 慈利县| 镇沅| 会泽县| 哈巴河县| 始兴县| 宁强县| 白银市| 闽侯县| 大竹县| 辉县市| 安乡县| 吐鲁番市| 东莞市| 东丰县| 潜江市| 晋城| 大港区| 砀山县| 都昌县| 新源县| 铜川市|