See the SDK download package: SDK\Server\FullSample\ImportExportPublish. This sample includes an XML file with Bank Accounts and Safe Deposit Boxes as new entities that need to be imported. The sample shows how to export customizations for a backup, import a different customization file, and publish the imported customizations.

Data Migration Full Sample

See the SDK download package: SDK\Server\FullSample\DataMigration. This sample shows how to use data migration with a complex mapping.