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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to recover a deleted element

Solved5.91K views28th February 2022
5
Jeff Douglass860 22nd February 2022 0 Comments

How do you recover an element that was deleted? I assume you use the recycle bin exactly what items from the recycle bin need to be used and where do they go?

Thanks

Arunkrishna Shreeder [SLC] [DevOps Advocate] Answered question 28th February 2022

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
10
Brent Alleweireldt [SLC]1.53K Posted 22nd February 2022 2 Comments

Hey Jeff,

When an element is deleted, 3 items are added in the Recycle Bin

  • <Date>_Delete_element_views.xml.zip
  • <Date>ElementConnection before delete <element> ElementConnections.xml.zip
  • <Date>_Element <elemenname>.zip

Each of these contain some part to restore the element.

The most important one is the "<Date>_Element <elemenname>.zip" this one contains the actual element. The folder structure is kept intact, so you only need to unzip the file and place the contents of the "Skyline Dataminer" folder from the zip into the "C:\Skyline DataMiner" folder on you system.

The other 2 zip-files are a bit more work.

The "<Date>_Delete_element_views.xml.zip" contains the views.xml as it was the moment the element was deleted. If you do not restore this, the element will place under the root view. If no other changes has been made to the view-structure, then you can simply replace the "C:\Skyline DataMiner\views.xml" with the one from the zip. Otherwise you will have to manually merge the two files.

The "<Date>ElementConnection before delete <element> ElementConnections.xml.zip". Contains a snapshot of the ElementConnections.xml at the time of the delete. As with the views.xml if this is not restored any ElementConnections the element had will be reset to the default or missing. If no changes happened since the Delete you can simply replace the file in "C:\Skyline DataMiner\Elements" with the one from the zip. Otherwise you will have to manually merge the 2 files.

Do note that these actions are best done when the agent is stopped to prevent conflicts. When the agent is part of a cluster you need to be extra careful with the views.xml (as this one is synchronized).

Also do note that this will only restore the element to the system, all saved data the element contained such as trending or elementData will be lost.

Ben Vandenberghe [SLC] [DevOps Enabler] Selected answer as best 23rd February 2022
Jeff Douglass commented 22nd February 2022

Brent, Thanks for the quick response but I have additional question.
1) Your statement of :
“The folder structure is kept intact, so you only need to unzip the file and place the contents of the “Skyline Dataminer” folder from the zip into the “C:Skyline DataMiner” folder on you system
does not appear to be correct or I am misunderstanding it . The contents of the “Skyline DataMiner” folder is NOT “intact” as you stated. The Elements folder in that folder ONLY contains the folder for the element that was deleted and not the entire (“intact”) structure so as you stated. I assume that you meant to say to Copy the contents of the “Elements” folder from the zip file to the Elements folder on the actual system, is that correct?
Thanks

Brent Alleweireldt [SLC] commented 22nd February 2022

I was indeed not clear enough with my answer. The zip does indeed only contain the files and folders relevant to that element. What I meant with “the folder structure is intact” is the data in the zip needs to end up in the same place on your system. The zipSkyline DataminerElements\… Needs to end up in C:Skyline DataMinerElements….

So yes, you just need to make sure that the contents of the Elements folder from the zip ends up in the Elements folder of the system.

1
Arunkrishna Shreeder [SLC] [DevOps Advocate]4.00K Posted 28th February 2022 2 Comments

Hi Brent,

I am facing a similar issue in a cluster of 4 failover pairs. Assuming the DMA IDs are 1,2,3,4 the element has DMA ID 4 but after it was deleted, the associated files are present in Recycle Bin of DMA 2. So should I restore the element to DMA 4 or 2 ?

Also, I see 2 of these zip files. Can you please tell me which one I need to use ?

Finally, is it better to stop all 8 DMAs and then carry out the above procedure ? Thank you 🙂

Arunkrishna Shreeder [SLC] [DevOps Advocate] Posted new comment 1st March 2022
Brent Alleweireldt [SLC] commented 28th February 2022

Hey Arunkrishna,

The only reason I can think of that an element with DMAID 4 would be present in the DMAID 2 is that the element was orignally created on 4 but moved to 2 during its lifetime. It should not matter much where you restore it but I would advice to be safe and restore it on the DMA where it was present in the recycle bin.

Regarding the 2 zips. It is a bit hard to tell which to use as I have no idea what concrete data is present in the zips and which of that data is desired by you to be restored. As stated in my answer, these zips contains the ElementConncetion.xml, which is responsible for keeping track of the elementconnections. To restore this you have to merge it (not replace) with the file already present on the system. So the safe thing to do would be to look at the data in both files and cherry-pick the data that is needed.

Finally, Since some of these files are synchronized across the cluster I think it is safer to stop all agents.

Arunkrishna Shreeder [SLC] [DevOps Advocate] commented 1st March 2022

Thanks a lot Brent. The DMA only has the default ElementConnection.xml file; so I am not restoring this file alone. The other 2 I will restore! 🙂

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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin