Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Elasticsearch – Restore backup from DataMiner

Solved1.26K views6th March 2023backup backup restore Elastic Elasticsearch restore
7
Wouter Van Robays [SLC] [DevOps Enabler]1.14K 6th March 2023 0 Comments

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?

Wouter Van Robays [SLC] [DevOps Enabler] Selected answer as best 6th March 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Wouter Van Robays [SLC] [DevOps Enabler]1.14K Posted 6th March 2023 0 Comments

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

Wouter Van Robays [SLC] [DevOps Enabler] Selected answer as best 6th March 2023
7
Carolina Costa [SLC] [DevOps Advocate]856 Posted 6th March 2023 3 Comments

Hello Wouter,

You can check the repository by checking the “path_repo” in the Elasticsearch.yaml file in:

C:\Program Files\Elasticsearch\config\Elasticsearch.yml (for windows, which from what you are describing, I believe it is your case)

or

/etc/Elasticsearch/Elasticsearch.yml (for Linux).

Please let me know if this helps 🙂

Wouter Van Robays [SLC] [DevOps Enabler] Posted new comment 6th March 2023
Wouter Van Robays [SLC] [DevOps Enabler] commented 6th March 2023

Thanks for you answer Carolina, I tried initializing the repository with the path_repo from the Elasticsearch.yaml file, but when I do the restore, it cannot find the snapshot, even though I can see it in that folder.

Carolina Costa [SLC] [DevOps Advocate] commented 6th March 2023

Have you tried to check if the repository is functional?
You can use either kibana with: POST /_snapshot/repo_name/_verify
(https://www.elastic.co/guide/en/elasticsearch/reference/current/verify-snapshot-repo-api.html)
or the elastic API: http://elasticNodeIP:9200/_cat/repositories

If this is not available, you can try to initialize your repo using the following example (as described in docs: https://docs.dataminer.services/user-guide/Reference/DataMiner_Tools/Standalone_Elastic_Backup_Tool.html):
StandaloneElasticBackup.exe init –host 127.0.0.1 –username elastic –pw elastic –repo repo_name –path “C:Skyline DataMiner Backups”

Wouter Van Robays [SLC] [DevOps Enabler] commented 6th March 2023

I found the issue and posted the answer, thanks for pushing me into the right direction!

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs