function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Eric_SalesForceEric_SalesForce 

Deploying to Production

Hello,

Is there a more effective way of deploying than what my company is currently using? We create our changes on our sandbox server and then deploy to production. The problem is often times our production server is not the same as our test server and so our users face problems and we have to revert the deployment and makes changes again. Is there any way to have some kind of staging area or soft deployment so we are able to do some testing on our production server without affecting our users or buying a new org for just a staging area?

thanks,
Best Answer chosen by Eric_SalesForce
Sonam_SFDCSonam_SFDC
Eric, When you create a new sandbox or refresh an existing one,  Salesforce automatically copies your meta data and data from a production organization to a sandbox organization so any changes you have in your PROD will come down to the sandbox .

However, there are some particular refresh cycles for the sandboxes - please read here: https://help.salesforce.com/HTViewHelpDoc?id=data_sandbox_create.htm&language=en_US

Also, if you refresh a sandbox, all the data/metadata on the sandbox is overwritten by PROD data.

All Answers

Sonam_SFDCSonam_SFDC
Eric,

I suppose your company is using the best way possible to update your Prod environment using sandbox as your sandbox can be the closest replica of your prod if refreshed before starting the development of something  new on it. Are you making direct changes to the production which might be causing this diffeence in the setup/configuration in both these environments..
Eric_SalesForceEric_SalesForce
The changes we make to production would be like a field change or something like that, it normally doesn't happen but it can and that is where we run into issues. Is there a way to refresh sandbox from what is on production?
Sonam_SFDCSonam_SFDC
Eric, When you create a new sandbox or refresh an existing one,  Salesforce automatically copies your meta data and data from a production organization to a sandbox organization so any changes you have in your PROD will come down to the sandbox .

However, there are some particular refresh cycles for the sandboxes - please read here: https://help.salesforce.com/HTViewHelpDoc?id=data_sandbox_create.htm&language=en_US

Also, if you refresh a sandbox, all the data/metadata on the sandbox is overwritten by PROD data.
This was selected as the best answer