Archiving databases

To provide security and data integrity, Teradata Database provides the backup and archive facility. The backup and recovery of data is very critical in case of system crush, which leads to data corruption, or when developers want to rebuild a table with new columns or definitions. Backup and recovery comes to the rescue in many cases.

The ARCHIVE command allows you to back up objects in a database to media (tape). The following diagram shows the syntax for ARCHIVE command:

Teradata ARC orange book

In this recipe, we will back up one of the databases along with all the object in that database.

Get Teradata Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.