---
schema_version: "1"
id: bd73678408b69ed7fff276d974e530cce35991285a6ddc7ca53984603df5c283
title: Refresh Your Sandbox
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/data_sandbox_refresh.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.data_sandbox_refresh.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 707cd27733026822b34aa4dc706f0350e82a0d97588305ea9f6ecc80e26e1e3c
description: Refreshing a sandbox updates its metadata from the source org. If the sandbox is a clone or if it uses a sandbox template, the refresh process updates the org’s data and its metadata. The org ID of the sandbox changes each time it’s refreshed.
products:
  - Salesforce Platform
release: "264"
---
# Refresh Your Sandbox

Refreshing a sandbox updates its metadata from the source org. If the sandbox is a clone or if it uses a sandbox template, the refresh process updates the org’s data and its metadata. The org ID of the sandbox changes each time it’s refreshed.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Database.com</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d14668e75">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d14668e75 ">To view a sandbox:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d14668e75 ">View Setup and Configuration</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d14668e75 ">To create, refresh, activate, and delete a sandbox:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d14668e75 ">Manage Dev Sandboxes (Developer or Developer Pro only) or Manage Sandboxes (all
              sandbox types)</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-deploy_sandboxes-264-0-0-production-enus/654e51d1-6795-49fe-bd43-b5385950cf4a/images/icon_note.png)

Note Note these considerations for refreshing a sandbox.

- If you’re refreshing a Full sandbox from a production org hosted on a Hyperforce instance, your sandbox is refreshed using the Quick Create technology based on availability. The Quick Create method refreshes your sandbox faster than the legacy method. However, because of resource limitations within the shared infrastructure, sandbox refreshes on Hyperforce instances can sometimes default to the legacy method, rather than the faster Quick Create method. See [Best Practices for Salesforce Sandbox Creation and Refresh Times](https://help.salesforce.com/s/articleView?id=platform.data_sandbox_what_impacts_sandbox_creation_time.htm&release=264.0.0&type=5 "Although Salesforce can’t speed up the process of creating or refreshing sandboxes, these strategies can help you to minimize sandbox copy times.") for more information.
- Between the completion of a major release upgrade and the start of the next release upgrade, we attempt to create sandboxes that preview the next release by default. To create non-preview sandboxes during the transition between major releases, contact Salesforce Customer Support to enable this functionality. When this functionality is enabled, you can choose to create non-preview sandboxes during release transitions. See [What are Preview and Non-Preview Sandboxes](https://help.salesforce.com/s/articleView?id=platform.data_sandbox_preview.htm&type=5&language=en_US) for more information.
- If custom domains are associated with your sandbox, before you refresh it, review [Considerations for Custom Domains in Sandboxes](https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_sandbox_custom_domains_considerations.htm&type=5&language=en_US).

The refresh interval for each sandbox environment is calculated from when you request a sandbox creation or refresh.

 
| Sandbox Type | Refresh Interval |
| --- | --- |
| Developer | 1 day |
| Developer Pro | 1 day |
| Partial Copy | 5 days |
| Full | 29 days |

1. From Setup, in the Quick Find box, enter Sandboxes, and then select **Sandboxes**.
    
    A list of your sandboxes appears. Sandboxes that you can refresh have a Refresh link next to their name.
2. Next to the name, click **Refresh**.
3. Review the Name, Description, and Create From values, and edit these values if needed.
4. Select the type of sandbox environment you want.
    
    A table shows the number and type of sandbox licenses available in your org. You can select a different sandbox type to refresh.
    
    If the sandbox you’re refreshing is a clone, this option isn’t available. A cloned sandbox refreshes from its source org and retains the source org’s sandbox license type. If a sandbox’s source org is deleted, the clone refreshes from production.
5. Select the data you want to copy.
    
    - For a Partial Copy sandbox, click **Next**, and then select the template to specify the data for your sandbox. If you haven’t created a template for this Partial Copy sandbox, see [Create or Edit Sandbox Templates](https://help.salesforce.com/s/articleView?id=platform.data_sandbox_templates.htm&release=264.0.0&type=5 "Sandbox templates control which data is copied into a Partial Copy or Full sandbox.").
    - For a Full sandbox click **Next**, and then decide how much data to include.
        - In the **Object Data Included** field, select **All** to include all production data, or select **Template-based** to choose an existing sandbox template. For more information, see [Create or Edit Sandbox Templates](https://help.salesforce.com/s/articleView?id=platform.data_sandbox_templates.htm&release=264.0.0&type=5 "Sandbox templates control which data is copied into a Partial Copy or Full sandbox.").
        - Choose whether to include field tracking history data. If your production org is on Hyperforce, select the checkbox to include 30 days of field tracking history. For non-Hyperforce production orgs, select an option from the dropdown menu.
        - Decide whether to copy Chatter data. Chatter data includes feeds, messages, and topics and is used in many components that affect your sandbox copy.
    
    Decreasing the amount of data you copy can significantly speed sandbox copy time.
6. (Optional) To activate your sandbox immediately after you refresh it, select **Auto Activate**. In this case, you don’t receive an activation email.
7. (Developer or Developer Pro only) If you have an available storage upgrade and want to use it, click **400 MB** or **2 GB**, or change the data storage to its default value.
8. To run scripts after each creation and refresh for this sandbox, specify the name of an Apex class that extends the `SandboxPostCopy` interface.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-deploy_sandboxes-264-0-0-production-enus/654e51d1-6795-49fe-bd43-b5385950cf4a/images/icon_note.png)
    
    Note See [Create an Apex Class](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_develop_create_apex.htm) and [SandboxPostCopy Interface](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_System_SandboxPostCopy.htm) for more information on creating this Apex class.
9. For Sandbox Access, indicate a public user group that contains the users that require access to the sandbox (required for Developer and Developer Pro sandboxes).
    
    For Partial Copy and Full sandboxes, you also have the option to select **All Active Users**. Selecting all users can increase sandbox creation times and impact the login experience.
    
    How you select the public group depends on how many public groups exist in your production org.
    
    - If the production org has fewer than 60 public groups, select the group from the Public Groups dropdown.
    - If the production org has 60 or more public groups, enter the group name in the Public Groups field.
    
    For more information on Selective Sandbox Access, see [Determine Who Has Sandbox Access](https://help.salesforce.com/s/articleView?id=platform.data_sandbox_selective_access.htm&release=264.0.0&type=5 "Selective Sandbox Access helps you limit access to only required users who are included in a public group. It also removes the additional step for a Salesforce admin to change user email addresses back to their original format.").
10. Click **Create**.
11. Refreshing your sandbox can move it to a different Salesforce instance. For example, the sandbox can move from CS40 to CS50. If you’re subscribed to [Trust Notifications](https://help.salesforce.com/s/articleView?id=000381874&type=1&language=en_US), check your subscription settings to ensure that you continue to receive updates about unforeseen incidents and planned maintenance that affects your sandbox.

Salesforce starts copying data to the sandbox.

If you didn’t select **Auto Activate** while refreshing your sandbox, an email is sent when your sandbox is ready to activate.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-deploy_sandboxes-264-0-0-production-enus/654e51d1-6795-49fe-bd43-b5385950cf4a/images/icon_note.png)

Note Salesforce deletes new sandboxes that weren’t activated within 30 days. Users who created or most recently refreshed any sandbox for your org get at least two email notifications before we schedule the unactivated sandbox for deletion.