Getting ready

You need to be connected to the Teradata arcmain utility. To archive the database, the user must be granted the ARCHIVE and SELECT privileges on the database to be archived. This can be checked in the following code:

/*GRANT Archive to archive role*/GRANT RESTORE, DUMP ON DATABASENAME TO ARCH_ROLE;GRANT ARCH_ROLE to ARCH01

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.