Restoring the Repository (Portlets) - BAR - Data Stream Architecture - Follow these steps to restore a backup of the DSC repository metadata.

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
16.20
Published
November 2019
Language
English (United States)
Last Update
2019-11-27
dita:mapPath
xfr1514490991957.ditamap
dita:ditavalPath
3150_DSA_UG_1650-working-RR-new.ditaval
dita:id
B035-3150
lifecycle
previous
Product Category
Software
Teradata Tools and Utilities
Use these steps to restore a backup of DSC repository metadata.
If you abort a DSC repository restore job while the job is in progress or if the restore job fails, DSC repository metadata will be corrupted. DSC triggers a command to restore all repository tables to their initial state, which is an empty table.
  1. Open the BAR Setup portlet.
  2. Under DSC Servers, select your DSC server.
  3. From the Categories list, click Repository Backup.
  4. Select Restore DSC Now. During the restore job, the BAR Setup and BAR Operations portlets are unavailable.
  5. Select a save set to restore and select OK.
  6. If the restore job ends with a warning, follow these steps:
    1. Check the job status. In the following example, repo1_restore_job is the job name. dsc.sh job_status -n repo1_restore_job -B
    2. If the status indicates the foreign keys were not restored, run the foreign key repair script: /opt/teradata/client/version/dsa/dsc/recreateFk_version.sh When the restore job is complete, the BAR Setup and BAR Operations portlets become available.
  7. After the repository restore job is complete, perform a tpareset of the DSC repository database: tpareset -f comment where comment is any string