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?
TDM 4.10 and TDM 4.11
There's no easy way to recover the OrientDB data from gtrep. The data is stored across multiple table in the repository.
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.
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.