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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

IDP Backup Template Issues

94 views22 hours agoIDP
6
Ross Elliott [DevOps Advocate]1.14K 2 days ago 0 Comments

Hi, I'm using the IDP backup template BackupDevice and GetBackupFullDeviceAsFilePath methods to and am successfully creating a backup, saving it to my DMA and then IDP is transferring it to the configuration archive correctly. In order to get it working I've had to comment out all the File.Exists, File.Length etc checks because the script doesn't have permission to read/write the file. This is separate to the file transfer credentials in IDP that seem to be working as expected.

I've added a engine.GenerateInformation(System.Security.Principal.WindowsIdentity.GetCurrent().Name); info event to get the user but it's returning NT AUTHORITY\SYSTEM which I can't add as a user to the share.

I'm relatively confident my IDP config is correct but there could be something I've missed of course, I've set up a share and it's available to IDP, the IDP User has all the rights it should. From any agent I'm able access the share and see the backups saved on which ever DMA the Element has saved it to, but the script tries to read the file which returns the following error;

Script Failure (EA-IDP-AppearTV): EXIT: "System.UnauthorizedAccessException: Access to the path '\\xxx\IDP Working Directory\Lab Appear-17-03-2026_15-15-21-Config.cfg' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at System.IO.File.ReadAllText(String path)
at EAIDPAppearTV.Script.<>c__DisplayClass4_0.<BackupDevice>b__0()
at EAIDPAppearTV.Script.Retry(Func`1 func, TimeSpan timeout)
at EAIDPAppearTV.Script.BackupDevice(IEngine engine, Func`2 backupMethod)
at EAIDPAppear.Script.CreateAndSendBackup(IEngine engine)
at EAIDPAppear.Script.Run(IEngine engine)" (see comment for more details)

I could keep the sections causing the failure out of the script, but then I'd have to manage the checks and file management outside of IDP which I don't really want to do, as this is the template I'm assuming DataMiner expects all of this to work automatically so I'm a bit stuck at the moment.

Thanks,

Ross

Ross Elliott [DevOps Advocate] Answered question 22 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Ross Elliott [DevOps Advocate]1.14K Posted 22 hours ago 0 Comments

To get it working...

  • I save the file to the share
  • SLNet sync the file to all DMAs
  • check the file locally from the DMA that's running the script
  • let IDP move it to the config archive
  • SLNet message to delete the file from all DMAs.

I've had to move the share to within /Skyline DataMiner for the SLNet message

Ross Elliott [DevOps Advocate] Edited answer 22 hours ago
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

© 2026 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