16.10 - Using Standard Offline Backup - Teradata Unity

Teradata Unity User Guide

Product
Teradata Unity
Release Number
16.10
Published
January 2018
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
anz1496162519675.ditamap
dita:ditavalPath
ft:empty
Unity allows applications to run on a second Teradata system while the offline backup has tables locked.

Use the unityadmin shell.

  1. Start a Read-only outage on the table, database, or system that you want to archive:
    Option Description
    table unityadmin -u admin -P admin -e 'object freeze <db.tablename> on <system_name>'
    database unityadmin -u admin -P admin -e 'database freeze <db_name> on <system_name>'
    system unityadmin -u admin -P admin -e 'object freeze <system_name>'
    For example, to begin an outage on a table named 'dbtest.table1' on Teradata 'system1', enter the following:unityadmin -u admin -P admin -e 'object freeze dbtest.table1 on system1'
  2. Recover the system, database, or table:
    Option Description
    table unityadmin -u admin -P admin -e 'object recover <db.tablename> on <system_name>'
    database unityadmin -u admin -P admin -e 'database recover <db_name> on <system_name>'
    system unityadmin -u admin -P admin -e 'object recover <system_name>'