TDM enables users to create a TDM task and select the source environment from which the entity is extracted. Tasks can also be created to extract and save different versions of the data in selected entities.
Examples
Customer 1 exists in both the Production and UAT environments where different data is saved in each environment. TDM must create separate instances of Customer 1, one for Production and another for UAT.
Data Versioning task: A task is created to save a data version (snapshot) of Customer 1 in a testing environment and to run the task every couple of hours for backing up the data. Each version of Customer 1 must create a separate LU instance (LUI).
To create different LUIs per environment and per version, each LUI created by the TDM must have the following format:
When the Data Versioning checkbox is not set, and a separate version of the entity is not saved, the LUI format is as follows:
<Source Env><separator><entity id>
Examples:
When the TDM task either delete only an entity from the target environment, or reserve only an entity in the target environment, the target environment is concatenated to the LUI, since the source environment is not set in these tasks.
When the Data Versioning checkbox is set, that is, to save a separate version of the entity, the LUI format is as follows:
<Source Env><separator><entity id><separator><version name><separator><version datetime>
Example
To extract a specific version of Customer 1 from the PROD source environment, the LUI is PROD_1_copyCust_20201105090000.
By default, the separator between the Source Environment and the Entity ID (IID) is an underscore. This can be set to a different separator in the TDM_GENERAL_PARAMETERS TDM DB table. Populate the param_name using the iid_separator and the param_value with the separator's value.
TDM enables users to create a TDM task and select the source environment from which the entity is extracted. Tasks can also be created to extract and save different versions of the data in selected entities.
Examples
Customer 1 exists in both the Production and UAT environments where different data is saved in each environment. TDM must create separate instances of Customer 1, one for Production and another for UAT.
Data Versioning task: A task is created to save a data version (snapshot) of Customer 1 in a testing environment and to run the task every couple of hours for backing up the data. Each version of Customer 1 must create a separate LU instance (LUI).
To create different LUIs per environment and per version, each LUI created by the TDM must have the following format:
When the Data Versioning checkbox is not set, and a separate version of the entity is not saved, the LUI format is as follows:
<Source Env><separator><entity id>
Examples:
When the TDM task either delete only an entity from the target environment, or reserve only an entity in the target environment, the target environment is concatenated to the LUI, since the source environment is not set in these tasks.
When the Data Versioning checkbox is set, that is, to save a separate version of the entity, the LUI format is as follows:
<Source Env><separator><entity id><separator><version name><separator><version datetime>
Example
To extract a specific version of Customer 1 from the PROD source environment, the LUI is PROD_1_copyCust_20201105090000.
By default, the separator between the Source Environment and the Entity ID (IID) is an underscore. This can be set to a different separator in the TDM_GENERAL_PARAMETERS TDM DB table. Populate the param_name using the iid_separator and the param_value with the separator's value.