Updated on 2025-08-15 GMT+08:00

Object Data Migration Overview

Importing and exporting metadata and data enables you to migrate and back up data. For example, you can migrate old metadata and data to a new environment for object consistency and compatibility. In this way, data can be migrated between different accounts or environments to avoid repeated development and incompatibility.

Huawei Cloud Astro Zero allows you to export data in scheduled/immediate export or scheduled export mode. The exported data types include metadata schema and data.

Before exporting data, check the data type and export mode by referring to Table 1 and Table 2.

Table 1 Data types

Data Type

Description

Metadata

Table definition information, that is, object structure.

Data

Specific data of a table, that is, object data.

Table 2 Export modes

Export Mode

Description

Once

Data is exported once immediately or at a specified time.

Multiple times (based on frequency)

Data is exported regularly at a specified interval from a given time point.

Before exporting data, understand the dependencies of the target data table. The target data table must be exported together with its dependencies. The following table describes the dependency between preset data tables.

"A -> B, C->D" indicates that A is the root object and contains subobjects B and C. D is the subobject of B and C.

When exporting Queue, PublicGroup, and Profile data tables, you do not need to export the related user tables. Queue data tables are dependent on each other. You are advised to export Queue, QueueObject, PublicGroup, GroupMember, and Role data tables as a whole.

When exporting the dependency of a data table, you do not need to export the associated object data of the dependency. For example, Profile (inclusion) -> ProfileAppVisibility (association) -> Application. When exporting Profile, you only need to export Profile and ProfileAppVisibility, and do not need to export Application.

Table 3 Dependencies

Data Table Type

Dependency

Process

Process -> ProcessDecision, ProcessCondition -> ProcessActionCall -> ProcessActionCondition, ProcessActionInput

Approval

ApprovalProcess -> ApprovalProcessAction, ApprovalProcessLockAction, ApprovalStep -> ApprovalStepAction, ApprovalMember

Queue

Queue -> QueueObject, GroupMember -> Role, PublicGroup

PublicGroup

PublicGroup -> GroupMember -> Role, PublicGroup

Profile

  • Profile -> ProfileAppVisibility, ProfileTabVisibility, ProfileMenu, ProfileBusinessProcess, ProfileFlow, ProfileScript, ProfileConnector, ProfileData, ProfileEvent, ProfileObjectPermission, ProfileFieldPermission, ProfileLayoutAssignment, ProfileServicePermission
  • PermissionSet -> PermissionSetAppVisibility, PermissionSetTabVisibility, PermissionSetBusinessProcess, PermissionSetFlow, PermissionSetScript, PermissionSetObjectPermission, PermissionSetFieldPermission
  • PermissionSetUserAssignment is a dependency table that records the permission sets assigned to users and profiles.
  • ServicePermissionCustomAPI is a dependency table that records the service permissions configured for custom APIs (URLMap data table).

Connector

  • Connector -> RestAction
  • SOAPService -> SOAPNamespace, SOAPAction

EmailTemplate

EmailTemplate -> EmailResource

Picklist

Picklist -> PicklistValue

CustomResource

CustomResource -> CustomResourceValue