DX AIOps - Backup and Restore of TAS and NASS
search cancel

DX AIOps - Backup and Restore of TAS and NASS

book

Article ID: 265341

calendar_today

Updated On:

Products

DX Operational Intelligence DX Application Performance Management

Issue/Introduction

As part of the disaster recovery procedure, can you provide steps how to manually backup/recover the TAS and NASS database?

Environment

DX Platform 2x

Resolution

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.  

 

Additional Information

AIOPs - Troubleshooting, Common Issues and Best Practices