Loading
Salesforce now sends email only from verified domains. Read More
Help Agent Performance DegradationRead More
Sandboxes: Staging Environments for Customizing and Testing
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Clone a Sandbox

          Clone a Sandbox

          When you clone a sandbox, its data and metadata are copied to the new sandbox. If included in the source sandbox, entity history and Chatter are copied for only Full sandboxes. A cloned sandbox uses the same license type as its source org. For example, to clone a Full sandbox you must have a Full sandbox license available.

          Required Editions

          Available in: both Salesforce Classic and Lightning Experience
          Available in: Professional, Enterprise, Performance, Unlimited, and Database.com Editions
          User Permissions Needed
          To view a sandbox: View Setup and Configuration
          To create, refresh, activate, and delete a sandbox: Manage Dev Sandboxes (Developer or Developer Pro only) or Manage Sandboxes (all sandbox types)
          Important
          Important If you're cloning a Developer, Developer Pro, Partial, or Full sandbox hosted on a Hyperforce instance, your sandbox is cloned using the Quick Clone technology by default. The Quick Clone method clones your sandbox faster than the legacy method.

          However, because of resource limitations within the shared infrastructure, sandbox cloning on Hyperforce instances can sometimes default to the legacy method, rather than the faster Quick Clone method. See Best Practices for Salesforce Sandbox Creation and Refresh Times for more information.

          To see whether your sandbox is on Hyperforce, check the Location information in the list of sandboxes in Setup.

          If custom domains are associated with your sandbox, before you clone it, review Considerations for Custom Domains in Sandboxes.

          A cloned sandbox refreshes from its source org and retains the source org’s sandbox license type. If a sandbox’s source org has been deleted, the clone refreshes from your production org.

          Note
          Note External client apps aren’t included in the update when you refresh a cloned sandbox.
          1. From Setup, find and select Sandboxes.
          2. Click New Sandbox, or click Clone next to a completed sandbox.
            Note
            Note If the New Sandbox and Clone options are deactivated, confirm with your Salesforce admin that you have the Manage Sandboxes or Manage Dev Sandboxes user permission, or that your org has available sandbox licenses.
          3. Enter a name (10 characters or fewer) and description.
            We recommend that you choose a name that reflects the purpose of this sandbox, such as QA. Ideally, the name of a sandbox has only a few characters, because Salesforce appends the sandbox name to usernames on user records in the sandbox environment. Names with fewer characters make sandbox logins easier to type.
          4. Make sure that the sandbox name selected in the Create From dropdown is the sandbox that you want to use as your source org.
          5. Make sure that the org you’re cloning has the license type that you want for your new sandbox, then click Next.

            To use a different license type, choose a different source org from the Create From dropdown.

          6. (Optional) To run scripts after each creation and refresh for this sandbox, specify the name of an Apex class that extends the SandboxPostCopy interface.

            The Apex class you specify must exist in your source org. See Create an Apex Class and SandboxPostCopy Interface for more information on creating this Apex class.

          7. In the Sandbox Options page, click Create.

            In the Sandbox Options page, both Data Storage and Sandbox Access aren’t selectable because the values must be the same as the source sandbox for sandbox clones.

            Avoid making changes in your source org during the sandbox cloning process. When your sandbox is ready for use, you receive an email notification that your sandbox has completed copying. If you aren’t a user in the source sandbox, an email notification isn’t sent. Instead, you can monitor the sandbox creation status in the Sandbox Setup page.

          When your new sandbox is ready, you can manage it from your production org just like any other sandbox.

           
          Loading
          Salesforce Help | Article