Running an Analyze Job - NetBackup

Teradata Extension for NetBackup Administrator Guide

Product
NetBackup
Release Number
16.20
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-02
dita:mapPath
bby1489436039204.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2400
Product Category
Teradata Tools and Utilities

Running an Analyze job enables the TARA application to recognize the backup job. A restore job is created and the archived objects are listed in the restore window of the new TARA server.

  1. Record the IOPARM and the ARCHIVE FILEDEF information from the original backup. For example: IOPARM = SERVER=barlnx1 POLICY=TD_pol1 CLIENT=barlnx1

    DK_gcperf_syscal_archive_478fdb1500000004_DSTREAM0001

  2. Using the TARA GUI, create a generic backup job.
  3. In the job script:
    1. Specify the number of job streams. The example sets MULTISTREAM to 1.
    2. Create a STREAM line for each stream of the original backup. Indicate the server on which the stream will run. In the following example, the stream runs on bsrv3.
    3. Using the stream image name from the stream ARC log, create a STREAMNAME line following the STREAM line.

      If there are multiple streams, specify all STREAMNAME lines after the STREAM lines. For example:

      STREAM1

      STREAM2

      STREAM3

      STREAMNAME 1

      STREAMNAME 2

      STREAMNAME 3

    4. Change the script type from Archive to Analyze.
    5. Replace the archive script with ANALYZE ALL, VALIDATE, DISPLAY LONG.
      JOB DK_analyze_to_create_restore_2
      SESSIONS 12
      MULTISTREAM 1
      STREAM bsrv3
      STREAMNAME DK_gcperf_syscal_archive_478fdb1500000004_DSTREAM0001
      COMMANDLINE CSNAME=ASCII CHECKSUM=2
      TDPID gcperf
      USERID dbc
      OTB NetBackup
      NBUPOLICY TD_b3_pol1
      SCRIPT Analyze
      LOGON $LOGON;
      ANALYZE ALL, VALIDATE, DISPLAY LONG,
      FILE=ARCHIVE;
      LOGOFF;
      ENDSCRIPT
  4. In runarcnb.bat located at the home directory of baruser, verify that the server is the new NetBackup master and the client is the original NetBackup client (media server) that created the image. Edit if necessary.

    Comments at the top of the following runarcnb.bat file examples specify SERVER as the current NetBackup Master and CLIENT as the original client.

    Windows

    @echo off
    Setlocal
    
    rem For analyze only- overriding client. Comment out for normal use
         set ARCENVX=IOPARM='SERVER=bsrv3 CLIENT=barlnx1'

    Linux

    #!/bin/bash
    
    # For analyze only- overriding client. Comment out for normal use
         export ARCENVX=IOPARM='SERVER=bsrv3 CLIENT=barlnx1'
    
    # For a restore job, disable the MEDIA_MOUNT_TIMEOUT and
    #                    MULTI_HOST_TIMEOUT until arcmain completes
    ADMINDIR="/usr/openv/netbackup/bin/admincmd"
    BPCONF="${ADMINDIR}/bpconfig"
    BPREREAD="${ADMINDIR}/bprdreq"