During an upgrade in lab we noticed the following error in 1 of 2 DMAs in the DMS.
- What is the purpose of the application?
- What is the risk of it failing?
- how do we fix it?
- I tried running the exe manually but the pop-up window closes immediately.
- Log file doesn't seem to showcase anything of value to troubleshoot the issue.
Current Dataminer Version=10.3.6.0-13026
Upgraded To=10.3.12.0-13575
---------------------------------------------------------------------
72.27.78.123|2023-12-27 16:23:45|step|Step 30/33: Execute 900 TakeBackupWeb\TakeBackupWeb.exe /src "C:\Skyline DataMiner\Applications" /src "C:\Skyline DataMiner\Dashboards" /r /keep 5
172.27.78.123|2023-12-27 16:23:45|information|Executing 'C:\Skyline DataMiner\Tools\TakeBackupWeb\TakeBackupWeb.exe' with params '/src "C:\Skyline DataMiner\Applications" /src "C:\Skyline DataMiner\Dashboards" /r /keep 5' (working dir: 'C:\Skyline DataMiner\Tools\')
172.27.78.123|2023-12-27 16:23:48|step|Executing on-failure steps due to failure...
172.27.78.123|2023-12-27 16:23:48|error|Upgrade failed: Execute failed: 'C:\Skyline DataMiner\Tools\TakeBackupWeb\TakeBackupWeb.exe' Process exited with exit code 0xffffffffh (-1)
172.27.78.123|2023-12-27 16:23:48|finished|Failure
## 2023-12-27 16:23:48 ## completedAgents=
## 2023-12-27 16:23:48 ## failedAgents=172.27.78.123
## 2023-12-27 16:23:48 ## allCompleted=true
## 2023-12-27 16:23:48 ## status=Failed
Also here’s the RN of when the TakeBackupWeb was implemented https://intranet.skyline.be/DataMiner/Lists/ReleaseNotes/DispForm.aspx?ID=37413
Hi Shawn,
To answer some of your questions:
- The tool is used for the following:
When installing an upgrade (full upgrade or web-only upgrade), then it should now backup any existing dashboards and low-code apps. After an upgrade, these could get automatically migrated to be compatible with newer software versions. If for some reason this goes wrong, or if you need to do a DMA downgrade, then it's now possible to restore existing dashboards and apps from this backup. Restoring is a manual step, also when downgrading the DMA. - The risk of it failing is that no backups are taken from the dashboards and low-code apps. Meaning you have no backup in case you need to roll back.
- Can you do the suggested way of Luis? So open a command prompt as administrator and navigate to the folder (cd C:\Skyline DataMiner\Tools) and then just type the name of the file and hit enter. Now you should be able to see the error that is thrown.
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2020/10/nomnom.jpg)
The reason why this failed was an software issue, which will be fixed with RN 38640 (see https://collaboration.skyline.be/task/228535).
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2020/10/me-9.jpg)
DCP228535 has been resolved in 10.3 (CU13), 10.4 (CU1) and 10.4.4. Also note that a requirement for the web upgrades is having the .NET6 (or higher) runtime installed.
Hey Shawn, unfortunately I don’t have an answer for you but I can suggest the following so that the window doesn’t automatically close when you click the exe. Run cmd as admin, go to the path C:Skyline DataMinerToolsTakeBackupWeb, run the command TakeBackupWeb.exe. This will output the usage information of the exe. Kind of a like a small how-to it seems.