Regenerating a Backup Image - BAR

Teradata Appliance Backup Utility Installation and User Guide

Product
BAR
Release Number
16.20
Published
November 2017
Language
English (United States)
Last Update
2018-07-13
dita:mapPath
myx1512701901323.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-3134
Product Category
Teradata Tools and Utilities
You can create a save set of the daily backup dataset for disaster recovery by creating an analyze script from a backup script.
  1. Create or edit a backup script similar to the following example:
    JOB test_analyze_recover
    SESSIONS 3
    MULTISTREAM 2
    STREAM SMP001-8
    STREAM SMP001-9
    STREAMNAME /var/abu_storage/bsrv25_abu1/test_recover_52cf15fa00000004_DSTREAM0001
    STREAMNAME /var/abu_storage/bsrv25_abu2/test_recover_52cf15fa00000004_DSTREAM0002
    COMMANDLINE CSNAME=UTF8 
    
    TDPID local
    USERID dbc
    OTB Disk 
    DESTINATIONPATH 
    DESTINATIONPATH 
    SCRIPT ANALYZE
    LOGON $LOGON;
    
    ANALYZE ALL, VALIDATE, DISPLAY LONG,
    FILE=ARCHIVE;
    
    
    LOGOFF;
    ENDSCRIPT
    
    The MULTISTREAM value should match the number of STREAM, STREAMNAME, and DESTINATIONPATH keywords.
  2. Launch the analyze script. After the analyze script completes, an image is generated, and the name is test_analyze_recover. You can now restore the test_analyze_recover generated image.