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

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.11
Release Date
October 2021
Content Type
User Guide
Publication ID
B035-4101-091K
Language
English (United States)
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>