- Copy the bootstrap_<backupID>.out into the landing zone
(default is: /var/opt/teradata/dsa/postgres) and run the following commands.
- Navigate to /opt/teradata/client/17.10/dsa/dsc:
cd $DSA_DSC_ROOT
- User:
su dscuser
- Restore the repository:
sh recover.sh -m recovery
- Check the replication status:
sh recover.sh -m save_sets_replication_status
- 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 1602081495349 -r TGP
- Check the replication status:
sh recover.sh -m save_sets_replication_status
- Restore the backup:
sh recover.sh -m restore -v <backupID>
For example, sh recover.sh -m restore -v 1602081495349
- Exit dscuser:
exit
- Restart DSC:
/etc/init.d/dsc restart