Skip to main content

What is Environment, Sandbox, Types Of Sandbox And How To Create Sandbox From Production

Salesforce is known as the world's number one CRM and has been recognized by global leaders all over the world. Salesforce as a platform provides main support for SAAS and PAAS services. SAAS means software as a service and it provides salesforce services on rent based on per user/licence edition you purchase. PAAS means platform as a service and you take Force.com/Heroku as platform to customize your application but both these services needs salesforce environments so that developers can perform there metadata changes and write code with respect to there business requirement. Thus, In this article we will in discuss about Salesforce Environments.


    Environment In Salesforce: 

    Environments in salesforce is an instance of the force.com salesforce platform.It is also known as orgs or organization in salesforce. If someone is talking about orgs it means that he is talking about Environments in salesforce.

    There are many functionalities as well as features of salesforce environments which are mentioned below;

    1. Salesforce Environments can be utilized for developing code, testing the functionality of the code, training users and used as a production environment for end users.

    2. Every salesforce environment has its own data storage and you can perform configuration, integration as well as customization based on the features that you want to develop for your client.

    3. The functionality that I have discussed so far in points 1, 2 is based on the salesforce editions that you purchase, if you would like to purchase any salesforce edition you can look into there website mentioned here "https://www.salesforce.com/editions-pricing/sales-cloud/".

    4. As we all know salesforce is on cloud hence, the way you login to your system is via an internet service provider like Google, Mozilla Firefox, Internet Explorer etc. The other ways to logging is via SOAP API or Metadata API.

    5. Salesforce environments is used to extend/enhance the application based on business needs of your organization without effecting the production environment.

    Hence, to summarize salesforce environment let's you to develop your application and deploy those applications to production environments.

    Also Read : A Guide To Salesforce Feature And Parallel Branching Strategy For Enterprise Customers

    Introduction To Sandbox

    Sandbox is a copy of production organisation or a copy of any other salesforce environment that you are presently using that can be used to perform tasks like configuration, customization and development of lightning components.These sandboxes can used by developers to develop there code / feature. If you want to do a test for these features you can create a new testing sandbox also known as quality assurance sandbox. If you want to give Training to an individual you can also create a sandbox from production/other sandboxes.

    What is Refresh Of Sandbox?

    Refresh of sandbox: It is a term which is also used to create a sandbox from production/clone a sandbox from another sandbox. When I say "refresh a sandbox named as "DevSFDC247" it means to create a sandbox name it as DevSFDC247 from production/clone it from another sandbox. Give this sandbox a description to define the purpose of the sandbox that you are creating.

    What is Refresh Interval In Sandbox?

    The refresh interval is the number of days at which the salesforce server will be available to synchronize its records with the production environment of salesforce. There are different refresh intervals for different different sandboxes, which I will discuss in the Types of sandbox section.

    What is Production?

    Production is an instance of force.com where the data needed to run the business logic is stored. It is basically meant for business end users and where go Live users work together in a platform.

    How to login to production Salesforce?

    You can login into Production salesforce using the url https://www.login.salesforce.com

    Types Of Sandboxes in Salesforce

    Environments in salesforce, Types of sandboxes In Salesforce, how to check sandbox type in salesforce, all about sandbox in salesforce, how to create sandbox in salesforce developer edition, salesforce sandbox refresh, salesforce sandbox refresh best practices
    Types of sandboxes In Salesforce
    The sandboxes are classified into four types which are mentioned below and also we will look at the features that these sandboxes support.

    Developer Sandbox:

    1. It is an instance of force.com.
    2. It is basically designed for development activities by individual developers.
    3. It is a Independent copy of production's metadata.
    4. Data size: It supports only 200 MB
    5. File Size: It supports only 200 MB
    6. Refresh Rate: 1 time in a day.
    7. Actions: It is used for Development and Unit Testing (Test classes for salesforce) by individual developer.
    8. It includes Configuration, All Metadata components and all users. 

    Developer Pro :

    1. It is an instance of force.com
    2. It is basically designed for Development and Testing by individual developers.
    3. It is a independent copy of production metadata.
    4. It is also called as Quality Assurance environment / Sandbox.
    5. Data size: It supports 1 GB
    6. File Size: It supports 1 GB
    7. Refresh Interval: One(1) time in a day.
    8. Actions: It is used for Development, Testing and Quality Assurance testing by multiple      developers.
    9. It includes Configuration, All Metadata components and all users.

    Partial Copy  Sandbox :

    1. It is a instance of force.com
    2. It is a independent copy of Production metadata with sample data
    3. It supports Maximum of 10,000 records per object, can be increased later.
    4. It is generally called UAT environment
    5. Data size: It supports 5 GB
    6. File Size: It supports 5 GB
    7. Refresh Rate: One(1) time in every five days.
    8. Actions: It is used for Development and Testing.
    9. It is generally used for testing activities.
    10. It includes Configuration, All Metadata components, all users, Records (with sample of selected objects) and Sandbox Template Support.

    Full Sandbox :

    1.  It is a instance of Force.com
    2. It is exact copy of production's metadata and data
    3. It is designed for testing activities .
    4. Data size: Same size as production 
    5. File Size: Same size of production
    6. Refresh Interval: 1 time in 29 days
    7. Actions: It supports all types of testing.
    8. It includes Configuration, All Metadata components, all users, Records (sample of selected objects),Sandbox Template Support, Records (all or selected objects), History & Chatter Data (is optional).

    How you can Login to Sandbox Salesforce?

    All the users can login into sandbox using url https://www.test.salesforce.com.

    How to create sandbox in Salesforce?

    In order to create a sandbox we have login into production using url https://www.login.salesforce.com by providing correct username and password. Once you have logged into your production, please follow the below steps.

    STEP 1. In the home page click on setup.

    STEP 2. Go to Quick Find search for Sandboxes.

    sasalesforce sandbox refresh, salesforce sandbox refresh best practices
    How to Refresh A Sandbox-sfdc247.com


    STEP 3. Based on Available Sandbox ( Licenses Developer, Developer Pro, Partial Copy and full ) you will create your type of sandbox. For example let us say SFDC247 have 5 full sandboxes so, it can create 5 full sandboxes for SFDC247 Organization. Go inside Action tab of Available Sandbox Licenses and click on refresh.

    STEP 4. You will be redirected to a new page known by Refresh Sandbox.

    STEP 5. Under Sandbox Information give Name of sandbox, Description of sandbox, Create From (it will have two options one is production and other is the previous used sandboxes, you have the option to clone from other sandboxes mentioned on the list.)

    STEP 6. Click on Next on the same page within Sandbox License Section.

    STEP 7. Again you will be directed to another page "Refresh Sandbox" Under Sandbox Options click on Auto Activate (This option will activate your sandbox immediately and you will receive an email mentioning the sandbox is ready to use login by appending username of sandbox that you created).

    STEP 8. Last step is to click on Create Button and it will create your sandbox.

    STEP 9. In case you want to create manually, Navigate to Setup type in Quick find Sandboxes.
    Click the "Activate" link next to the appropriate Sandbox, then on activate/OK button to confirm the activation of the Sandbox.

    Complete Salesforce Trailhead Environment Course

    If you would like to complete salesforce trailhead environment course you can follow the given module https://trailhead.salesforce.com/en/content/learn/modules/declarative-change-set-development/plan-for-changes-to-your-org. There are two questions related to this course.

    Question 1. Why is it important to track changes made during development?
    Answer: To identify what should go in a change set.
    Question 2. What makes a developer sandbox a good choice for development over other types of sandboxes?Answer: It allows developers to keep release changes isolated.

    Summary Of Salesforce Environments

    Salesforce Environments are also known as organization or orgs. There are two types of Environments named as Production and Sandbox. Production is used by end users and sandbox is used for development as well as testing. You can create a sandbox from production but not from sandbox.

    It is the most basic admin activity which we perform whenever there is a new requirement to create sandboxes. I have tried my best in explaining to you about sandbox and its types in Salesforce. If you have any doubts you can always comment and contact me in case you any questions regarding this post.

     #Note: Publishing this content anywhere without the consent of SFDC247 will result in a lawsuit against copyright infringement

    Comments

    Popular posts from this blog

    Flosum Vs AutoRabit Vs Copado : Best Salesforce DevOps Release Management Tool

    Are you still using changesets or you have moved from changesets to salesforce ant migration tool? Salesforce has again introduced SFDX which supports the source of truth known as Git. Are you using SFDX or still planning to move ahead of salesforce DX to salesforce app exchange products. If yes, then you have come to the right place and I will introduce you to 3 major competitors of salesforce release management which gives you end to end salesforce release management solution to your needs. I have a lot of experience of working with each of these tools and I must say that each one of them is full of amazing features. So, today, I am not going to dig in detail about each product because it would require a lot of commitment to do it, but I would share my knowledge on why each one of them is unique in itself. Topics To Discuss On Also Read:   https://www.sfdc247.com/2020/03/An-Ultimate-List-Of-Top-200-Plus-Salesforce-Blogs-On-Web.html Just

    Salesforce Release Management And Version Control Branching Strategy Using Git

    Release branching strategy is comprised of three unique words "Release" it means a go Live of your business requirement, second is "Branching" also known as  salesforce version control using git which is not a salesforce terminology but these days we are using it in Salesforce DX , generally it refers to the Git version control tool and the branches (feature branch, developer branch, staging branch, preprod branch and master branch) that you create in a repository. In short, is used for versioning and history tracking for your changes that you have done via tools like Jenkins, Flosum , AutoRABIT, Copado , Gearset or any other IDE which is used to deploy your salesforce metadata components to Sandbox organization. The third-word " Strategy " which is a mixture of Release and branching. It means that how we can merge Salesforce release process with salesforce version control branching to deploy metadata components in salesforce environment in the best way

    Top 5 Best Data Backup And Recovery Tools For Salesforce

    Do you know salesforce will stop giving its premium service of Data Recovery in case of Data Loss from 31st July 2020? We came to know about its service when we logged a data recovery case with Salesforce support team and they told us that we can recover your lost data but it will take maximum duration of  6 weeks to 8 weeks. Then we came to know the recent announcement made by salesforce. In this article, I will focus my discussion on the Top 5 best data backup and recovery tools for Salesforce that we will have once this data recovery service will be retired by salesforce. Topics To Discuss On Salesforce Data Vs Metadata In order to understand this, article in detail, first, we need to understand the difference between Salesforce Data as well as Salesforce Metadata. Salesforce Data: It refers to the records stored in our standard and custom objects. All the records in salesforce are referred by a datatype known as ID. Data are like a spreadsheet where values are

    Top 8 Salesforce Login Extension To Store Salesforce Org Credentials

    Salesforce login extensions will store your multiple salesforce/force.com org credentials and allow you to log in quickly to your salesforce environment with one single click. It will authenticate your credential and open them in a default browser window. There are many salesforce login extensions which will save your time in storing those credentials and increase your productivity of work ☺. Why Developer/Release Manager/Business Analyst should use Salesforce login Extensions? Let us consider that I am a release manager and daily I have to log in around 10 different salesforce org and for all these orgs I have to memorize there login id and password. There are many occasions where I have to reset my password. Considering these issues/situations, I need a different approach to store all my credentials. Hence, I can choose salesforce login extensions and can open all these 10 orgs at the same point of time and with very minimal memory utilization of remembering salesf

    A Guide To Salesforce Feature And Parallel Branching Strategy For Enterprise Customers

    The version control and release management branching strategy of salesforce for an enterprise solution is quite complicated when it is compared to Changesets or VSTS with CI Tools. In the last article, we have discussed  salesforce git branching strategies which can be adopted in the current project of the salesforce. But Frankly speaking, even if you read my blog or any other blog the success rate of any salesforce branching strategy depends on the current branching model that you have adopted in your project.  In this article, we will discuss advanced branching strategy  for enterprise customers. Read My Previous Post:  The Roles And Responsibilities Of Release Manager / Code GateKeepers In Salesforce. The advanced branching strategy is also known as the feature branching strategy as well as parallel branching strategy . Feature branching strategy in combination with parallel branching strategy is being used by many enterprise clients. It is also considered as a successful b

    Salesforce Managed vs UnManaged vs Package.xml - A complete Guide

    Salesforce provides us with two types of the package in salesforce managed package and unmanaged package. A salesforce package is a list of metadata components which are tightly coupled with all the dependent components. We can use this salesforce package in many ways like deploying them from one Salesforce organization to another. We can also install these packages in our organization and assign them to users. Also Read:   What is Environment, Sandbox, Types Of Sandbox And How To Create Sandbox From Production Salesforce package is the list of metadata components tightly coupled with all the dependent components in the form of a box or container. There are two types of salesforce package Unmanaged Package and Managed Package . Salesforce package.xml contains the list of metadata components in an XML file format. We can retrieve and deploy metadata components using package.xml. Salesforce Topics Of Discussion So, please don’t get confused with salesforce pack

    What Are Roles, Duties And Responsibilities Of Release Manager / Code GateKeepers In Salesforce

    Salesforce as a whole is a very diverse company and there are many job openings in market if you are working in any salesforce domain whether it is Salesforce CPQ, Salesforce SaaS Platform, Salesforce Force.com, Pardot, Analytics, Einstein the list goes on and on.. But, In this article, we are going to primarily focus on the roles and responsibilities of that salesforce release manager or code gatekeepers should possess to perform activities related to deployment in Salesforce. A Good Release Manager Must And Should Be A Core Salesforce Developer, So that he can deploy quality code in production - Nitendra Shukla ( SFDC247.COM ) I know most of you will not agree with the statement that I have made above but it is my thinking that a good salesforce developer understands what is quality code and he will ensure that we are not deploying bad code in Production. Anyways this is not our topic of discussion today and we need to focus on the roles and responsibilities of a release manage

    An Ultimate List Of Top 200+ Salesforce Blogs On Web

    An Ultimate List Of Top 200+ Salesforce Blogs On Web Salesforce Trailhead is the most loving and funny way to learn salesforce. It has many modules like salesforce apex, salesforce admin, salesforce development and many more. If you are the one who wants to learn salesforce then you must follow this trailhead link . But if you are the one who also learns salesforce from blogs then I have curated An Ultimate List Of 200+ Salesforce Blogs On Web Thus the second step to learn salesforce is by following bloggers, who are writing informative posts each and every day. These bloggers not only support overall salesforce community but also help users who are facing issues in salesforce lightning , salesforce admin or salesforce development . List of 200+ Salesforce Blogs Read Also:   https://www.sfdc247.com/2020/03/Top-5-Best-Data-Backup-And-Recovery-Tools-For-Salesforce.html Hence, I have created an ultimate list of Top 200+ salesforce blogs in alphabetical order and this l

    What Is SFDC247 And Why It Is Important To Understand Salesforce Release Management Process ?

    Which is the best release management tool in salesforce? How code gatekeepers or release managers deploy the changes from one sandbox to another sandbox or in Production? What is the best release branching strategy we can adopt for our project in Salesforce? What are the roles and responsibilities of release managers? There are several such questions which we have in our project during our deployment life cycle phase and these questions must and should be discussed properly with salesforce architects or experienced core developers or release engineers. Salesforce SFDC247 Introduction Are You Having Issues When You Deploy Your Code Into Production? We try to follow the best practice approach proposed by Salesforce during the deployment of code from one sandbox to another or in production but still, we are having a lot of issues during merging of code from several developers. The functionality does not work in production as we are not doing proper testing during our deploy