Exporting the data
This second export will allow us to export the data from the Products and Orders custom resources.
Based on the same type of export as the structure export, you are going to create a second package that contains the data.
-
In the Package exports page, click Create to create a new package.
-
Complete the label with Export data of my resources then click Create element in the Export content tab.
-
Search for and select the Products resource.
-
Configure an advanced filtering condition with @Label IS NOT NULL.
-
Check the count.
-
Repeat the same operation for the Orders custom resource.
-
Confirm and save the package definition.
You can now click Start export.
The package generated is available in the Downloads folder. The name of the zip file is randomly generated. You can rename it.
Importing the structure
Importing the package
-
Connect to the target instance on which you want to import the newly created packages.
-
Go to the Administration / Deployment / Package imports menu to create a new package to import the file from the first export.
-
Drag and drop the structure file into the zone provided for this purpose. The formats accepted are ZIP or XML.
-
Modify the label, for example Import structure, then click Save.
-
Click Start import.