Closed DerMilderJoghurt closed 4 months ago
Could you please execute the unchanged script manually from the console using this command, and tell what error it returns?
/system script run BackupAndUpdate;
bad command name routerboard (line 236 column 42) there is no routerboard entry for a cloudhosted router
Okay, Now, could you please execute this command in console and show what it returns:
:put [/system resource get board-name]
x86 YL-1900L4-V2
Okay, I see the problem now. Could you please test this version of the script with the bugfix, and tell me if it works: https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/blob/beeyev-patch-1/BackupAndUpdate.rsc
now it works thanks
every time I run it, I get the error "executing script BackupAndUpdate from winbox failed, please check it manually". If I delete the marked lines, the script works again.
https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/blob/750f655c7c3769d42d85b5ddf82f66a6bfaaad43/BackupAndUpdate.rsc#L235-L240