As part of the disaster recovery procedure, can you provide steps how to manually backup/recover the TAS and NASS database?
DX Platform 2x
Option 1: Below steps will work for performing the backup and restore of TAS in the same way as is done for NASS.
Perform Backup NASS
1. Scale down apmservices-nass-001 deployment
2. Identify DX manager pod and rsh there (oc or kubectl):
Example: oc rsh apmservices-manager-001-7588688454-9cqqd
3. Backup nass data:
cd /data.all/apmservices/nass-001/data/
tar cvzf nass_dbbackup.tar.gz *
4. Move nass_dbbackup.tar.gz to a save place
5. Scale up apmservices-nass-001 deployment
Restore Backup NASS
1. Scale down apmservices-nass-001 deployment
2. Identify DX manager pod and rsh there (oc or kubectl):
Example: oc rsh apmservices-manager-001-7588688454-9cqqd
3. Restore nass data:
Clear current content:
cd /data.all/apmservices/nass-001/data/
rm -rf *
restore nass_dbbackup.tar.gz
tar xvf nass_dbbackup.tar.gz
4. Scale up apmservices-nass-001 deployment
Option 2: Scale down all the nass/tas deployments and perform the tarball creation from an NFS mount.