Restore the Repository (Portlets) | Teradata DSA - Restoring the Repository (Portlets) - BAR - Data Stream Architecture

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
17.10
Published
April 2022
Language
English (United States)
Last Update
2022-04-08
dita:mapPath
het1611950545663.ditamap
dita:ditavalPath
vwp1576617377804.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. On the Replication tab, select one of the following:
    • Landing Zone --> Replication Target (Replication To): Replicates an existing save set to the replication target third party storage.
    • Replication Target --> Landing Zone (Replication From): Replicates a save set from the third party storage back to the landing zone.
  5. Select the Replication Target.
  6. Click Run Job.
  7. If the restore job ends with a warning, follow these steps:
    1. Check the job status.
      In the following example, 2 is the bucket number and replication-S3 is the replication target group.
      dsc save_sets_replication_status -b 2 -n replication-S3
    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.