Replace and Relocate a Database | Teradata Data Mover - Replacing and Relocating a Database - Teradata Data Mover

Teradata® Data Mover User Guide - 20.01

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Mover
Release Number
20.01
Published
November 2023
Language
English (United States)
Last Update
2023-12-05
dita:mapPath
hlv1700545853003.ditamap
dita:ditavalPath
mpm1591127278842.ditaval
dita:id
don1467241476387
Product Category
Analytical Ecosystem

When you replace a database, you may also choose to relocate it.

  1. Set replaceDatabase to true, and specify the name of the source database.
  2. Under the target_database element, specify the name of the location where you want to copy the source database.
In the following example, all objects in the MyTargetDB database are eliminated and objects from the source MySourceDB database are copied to the target database MyTargetDB. Thus MyTargetDB is replaced with MySourceDB.
<database selection="included" replaceDatabase="true">
     <name>MySourceDB</name>
     <target_database>
           <name>MyTargetDB</name>
     </target_database>
</database>