Hi Dojo,
Creating a full backup in DataMiner creates a backup (snapshot) of Elasticsearch. But it is not included in a DataMiner restore.
How can I restore the Elastic snapshot created by DataMiner? This is probably possible using the standalone elastic backup tool. Restoring a snapshot using the standalone backup tool requires me to fill in a repository name. Under what repository does DataMiner creates this snapshot?
Turns out the answer was in the logging of the Elastic backup. My indexing engine location when creating the backup was set to C:\ElasticBackup as you can see in the screenshot.
I tried initializing the repository for the restore using the following command:
.\StandaloneElasticBackup.exe init -r ElasticBackup --path "C:\\ElasticBackup"
When I try to restore after that I got an error that the snapshot could not be found, even though there is a folder '20230306' in that C:\ElasticBackup folder.
Looking at the ElasticBackup logfile in C:\Skyline DataMiner\Backup I saw following logline:
2023-03-06 11:27:22|Created a snapshot repository for path: C:/ElasticBackup/20230306
I had to initialize the repository using the directory in the logfile as follows:
.\StandaloneElasticBackup.exe init -r ElasticBackup --path "C:\\ElasticBackup\\20230306"
And after that I could successfully restore the data using following command:
.\StandaloneElasticBackup.exe restore --r ElasticBackup --SnapshotName 20230306