This example restores a backup that originates from a single TSM node, NODE1. To restore the latest generation of the first backup, change the ARCMAIN script to use a RESTORE or COPY statement. The command line stays the same.
To create this type of backup:
- Ensure that the file pointed to by ARCDFLT environment variable is Iomodule=’tivbar.dll’.
- On the command line, type:
tivarc <arcin.txt
Output
arcin ARC Script
Logon td1/dba1 , pwd; Restore data tables (db1) , release lock , file= db1_data; Logoff ;
Backup Information in the TSM Catalog
- Node = NODE1
- Filespace = Teradata
- High Level = db1_data
- Low Level = F0000, 0001, F0002, and so on
Other Considerations
To restore the backup generation just before the latest backup, use this IOPARM value:
tivarc <arcin.txt ioparm=’generation=-1’For information about specifying relative and absolute generation numbers, see Parameter Definitions.