Install SFDMU
Start with downloading and installing the SFDMU plugin:
https://github.com/forcedotcom/SFDX-Data-Move-Utility
Download JSON
We prepared an export.json that you can use to migrate configuration data between orgs and that you can use to import data from one environment into another.
The following data will be migrated between the target-org and the source-org when using the export.json here on the right.
-
B25__Dimension__c
-
B25__Dimension_Field__c
-
B25__Dimension_Junction__c
-
B25__Calendar__c
-
B25__View__c
-
B25__Calendar_View__c
-
B25__Reservation_Title_Group__c
-
B25__Filterable_Field__c
-
B25__Reservation_Status__c
-
B25__Reservation_Type__c
-
B25__Calendar_Reservation_Type__c
-
B25__Reservation_Color__c
-
B25__Reservation_Type_Status__c
-
B25__Dynamic_Grouping_Field__c
-
B25__Time_Header__c
-
B25__Dimension_Junction_Display_Setting__c
Perform the following steps to migrate this data between orgs
-
Install the Salesforce CLI by following the steps mentioned here: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm
-
Authorise the source-org (so the org where the data is currently is with the help of the the
sf org login webcommand) https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_org_commands_unified.htm#cli_reference_org_login_web_unified -
Authorise the target-org (so the org where the data should be going)
-
Install the SFDMU plugin by running
sf plugins install sfdmuin a terminal -
Download the export.json and store it somewhere where you can find it.
-
Navigate your terminal to the folder where the export.json is stored
-
Run the following command, replace the usernames of the target and the source with the usernames you used to authorise the orgs in step 2 and 3.
sf sfdmu run --sourceusername <SOURCE_USERNAME> --targetusername <TARGET_USERNAME>
Data should be appearing in the new org and any errors will be reported in your terminal.