Closed lc1ferr closed 5 months ago
Yes, you need to execute the script manually and you will see the actual error.
Thank you for your response. I have manually run the script, but the log still shows: 'Executing script BackupAndUpdate from Winbox failed. Please check it manually.' There are no additional log entries.
Please provide a screenshot of what the console is showing after you execute this command:
/system script run BackupAndUpdate;
bad command name routerboard (line 236 column 42)
Provide the details about your device
Device information: Identity: MikroTik Model: CloudHostedRouter Serial number: -- Current RouterOS: 7.15 (stable)
The command '/system resource get board-name' executed in the console did not return any content. Therefore, on line 217, the 'do={ isSoftBased true;}' command was not executed.
Could you please execute this command in your console, and tell me what it returns:
:put [/system resource get board-name]
I created a bugfix, but could you please check if it works first.
Here is the new version of the script: https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/blob/beeyev-patch-1/BackupAndUpdate.rsc
This is the PR with changes
The script is now working correctly. Thank you very much!
There was an error while running the script. The log shows: 'executing script BackupAndUpdate from winbox failed, please check it manually"