Copying an Entire Database - Teradata Data Mover

Teradata Data Mover User Guide

Product
Teradata Data Mover
Release Number
16.10
Published
June 2017
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
kmo1482331935137.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-4101
lifecycle
previous
Product Category
Analytical Ecosystem

You can copy all tables and views from a source to a target database using ARC.

If a table to be copied already exists on the target, the target table is overwritten. If the target database contains tables that do not exist on the source or the tables are not being copied, those tables are maintained on the target.

Teradata ARC automatically copies statistics collected on all tables in the source database to the target unless the source Teradata Database version is earlier than 14.0 and the target version is 14.0 or later. In that situation, you must specify the copyStats attribute as true for each table with statistics that need to be copied.

  1. Open the parameters.xml file that has the job definition information for the job.
  2. Add the selection="included" attribute to the database element.

In the following example, all objects in the source database DBName are copied to the target:

<database selection="included">
    <name>DBName</name>
</database>