Rename a Database | Command Line | Teradata DSA - 17.20 - Renaming a Database - BAR - Data Stream Architecture

Teradata® DSA User Guide

Data Stream Architecture
Release Number
Release Date
October 2021
Content Type
User Guide
Publication ID
English (United States)
You can rename a database in a restore job by adding map_to to the table in the XML file containing the job definition. This option restores the database to the destination system using a new name for the database.
  1. Open the XML file containing the job definition information.
  2. Under objectinfo, identify the database to rename and add the new database name inside map_to.
    In the following example, the objects under database ABC are copied to database NEWBAR: