To access imported save sets, the target group used in the source DSA domain must be mapped to a target group in the destination DSA domain.
- To view the virtual components that are available for target group mapping, type dsc list_components -t system -Vdsc list_components -t nbu_server -V
-
To map a virtual target group to an existing, physical target
group in the destination domain, type
dsc config_target_group_map -f file -Vcbar3:/SDBA_Weekly_imports # dsc config_target_group_map -f cbar6.xml -VSample XML files are located at $BARCMDLINE_ROOT/samples/sample_target_mapping. They include helpful comments and show the available settings for the corresponding commands.
Target Group Map Tag Description master_source_target_name The backup target group name. master_source_dsc_id The ID of the source DSC repository. master_dest_target_name The restore target group name. target_group_maps A sub target grouping consisting of a backup and restore configuration pair. source_mediaserver_name The backup media server. source_policy_class_name The third party backup application policy associated with the backup media server. dest_mediaserver_name The restore media server. dest_policy_class_name The third party backup application policy associated with the restore media server. - To list the target group map, type:dsc list_target_group_map -V
- To restore a backup image from one source to a new DSC server with new Database, follow these steps.
- In source environment type, dsc export_job_metadata (with parameters).
- In target environment type, dsc import_job_metadata
- To create the physical target group on the target DSC, type:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <dscConfigTargetGroupMap xmlns="http://schemas.teradata.com/v2012/DSC"> <!-- Mapping of source DSA Backup-Target-Group to target DSA Backup-Target-Group --> <!----------------- Case sensitive Backup-Target-Group mapping --------------- Media Server: Source: ecoload5 Target: essue004 Backup-Target-Group: Source: cust_dsa Target: DSA_ImportStore_Ecoload5 Image Store Path: Source: /data Target: /tdbar_data/DSA_ImportStore/ecoload5_imports --!> <master_source_target_name>cust_dsa</master_source_target_name> <master_source_dsc_id>ecoload5</master_source_dsc_id> <master_dest_target_name>DSA_ImportStore_Ecoload5</master_dest_target_name> <target_group_fs_maps> <source_mediaserver_name>ecoload5</source_mediaserver_name> <source_path>/data</source_path> <dest_mediaserver_name>essue004</dest_mediaserver_name> <dest_path>/tdbar_data/DSA_ImportStore/ecoload5_imports</dest_path> </target_group_fs_maps> </dscConfigTargetGroupMap>
- At target environment type, config_target_group_map**
- At target environment type, dsc import_job_metadata -n job1 -V
- At target environment type, config_target_group_map