- Copy the bootstrap_<backupID>.out into the landing zone and run the following commands.
(default is: /var/opt/teradata/dsa/postgres)
- Navigate to /opt/teradata/client/17.06/dsa/dsc: cd $DSA_DSC_ROOT
- User:
su dscuser
- Restore the repository:
sh recover.sh -m recovery
- Check the list of backup IDs available on the replication target group:
sh recover.sh -m list_backupids -r replicating_target_group
- 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