Restore the Postgres DSC Repository: Command Line | Teradata DSA - Restoring the Postgres DSC Repository When the Bootstrap File is Missing: Command Line - BAR - Data Stream Architecture

Teradata® DSA User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
BAR
Data Stream Architecture
Release Number
17.20
Published
November 2022
Language
English (United States)
Last Update
2023-11-30
dita:mapPath
bis1632417576364.ditamap
dita:ditavalPath
vwp1576617377804.ditaval
dita:id
cyv1467242268519
Product Category
Software
Teradata Tools and Utilities
For the first three steps, use the files you stored following the procedure in Saving the DSC Repository Configuration Information
  1. Configure media server.
    For example, dsc config_media_servers -f 31.media_server.xml
  2. Configure backup application.
    For example, dsc backup_application_gcp -f config_gcp_user.xml
  3. Configure target group for replication.
    For example, dsc config_target_groups -f tg_gcp.xml -t target_gcp -r
  4. Navigate to /opt/teradata/client/17.06/dsa/dsc: cd $DSA_DSC_ROOT
  5. User:
    su dscuser
  6. Check the list of backup IDs available on the replication target group:
    sh recover.sh -m list_backupids -r replicating_target_group
  7. Get the bar_<backupID>.out from replication target group:
    sh recover.sh -m replicate_from -v <backupID> -r <replicationTargetGroupName>
    For example, sh recover.sh -m replicate_from -v 1603437512425 -r gcp_tg
  8. Restore the backup.
    sh recover.sh -m restore -v <backupID>
    For example, sh recover.sh -m restore -v 1603437512425
  9. Exit dscuser:
    exit
  10. Restart DSC:
    /etc/init.d/dsc restart