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
Tanner RussellTanner Russell 

Production org data to sandbox

I have been assigned with setting up a way to easily move production data to a developer sandbox after a refresh without the use of excel, I was thinking REST API might be useful. Does anyone know of any easier ways or any tips on how I should approach this?
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Tanner,
  • To deploy code from a Sandbox or Developer Edition org to Production, you will need to use either the Force.com Migration Tool or the Force.com IDE.
  • Note: If you deploy to a production organization, 75% of your Apex scripts must be covered by unit tests, and all of those tests must complete successfully.
  • While only 75% of your Apex code must be covered by tests, your focus shouldn't be on the percentage of code that is covered. Instead, you should make sure that every use case of your application is covered, including positive and negative cases, as well as bulk and single record. This should lead to 75% or more of your code being covered by unit tests.
Force.com Migration Tool Force.com IDE I hope it will be helpful.

Please mark it as best answer if the information is informative.

BestRegards
RahulKumar