The TDM Persistent Volume was deleted, can the OrientDB data be recovered?
search cancel

The TDM Persistent Volume was deleted, can the OrientDB data be recovered?

book

Article ID: 381926

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

After reinstalling TDM Portal on a new Kubernetes cluster, the Modeling/Environment is empty for all projects. While doing the installation, the persistent volume (TDM Home) was deleted, including the OrientDB database data. Is there a way to recover the data from the GTREP repository database?

Environment

TDM 4.10 and TDM 4.11

Cause

There's no easy way to recover the OrientDB data from gtrep. The data is stored across multiple table in the repository. 

Resolution

The recommendation is to use the OrientDB UI, and manually recreate the environments using the same names as before. 

See the OrientDB Graph Editor for more information:
https://orientdb.com/docs/last/studio/working-with-data/graph-editor/index.html

In the future, we highly recommend to not delete the OrientDB database data. The data should be moved over to the new installation.

Additional Information

For TDM Portal on Windows, the OrientDB database files are stored in the %ProgramData%\CA\CA Test Data Manager Portal\orientdb\databases directory.

For TDM Portal on Docker, the OrientDB database files are stored in the /home/tdm/.tdm/lib/orientdb/data directory.