Relocate a Child Database | Teradata Data Mover - Relocating a Child Database - Teradata Data Mover

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
16.20
Published
November 2021
Language
English (United States)
Last Update
2021-11-04
dita:mapPath
wph1512683331242.ditamap
dita:ditavalPath
4101_UG_dm_1620.ditaval
dita:id
B035-4101
lifecycle
previous
Product Category
Analytical Ecosystem
You can relocate a child database to a different target database when copying the entire parent database and its children.
  1. Add the selection="all" attribute to the database element for the parent.
  2. Specify the parent database name.
  3. Add the selection="included" attribute to the database element for the child database.
  4. Specify the child database name, as well as the target_database element and the target database name.
In the following example, the parent database MySourceDB is copied to MySourceDB, but the child database MyChildDB is copied to the database MyTargetDB.
<database selection="all"> 
	<name>MySourceDB</name>
 <database selection="included">
 <name>MyChildDB</name>
 	<target_database>
  	<name>MyTargetDB</name>
 </target_database>
 </database>
</database>