[SalesForce] the sequence of migrating data from one Salesforce to another Salesforce org

I want to transfer all my data from one Salesfoce org to another Salesforce org.
Kindly let me know sequence of data import. What object's data shoud i import first?

Best Answer

Your question is too broad.

You should import first parent records and then import the child records.

Like this sequence:

  • User
  • Account
  • Contact
  • Case
  • Task
  • Event

Also, rather than migrating all the data from one sandbox to other, you can think of refreshing a sandbox from the sandbox itself as long as sandbox types are same.