4/21/2021 0 Comments Mikrotik Update
There has over the last years been several times bug has been introduced or change to some like Wifi that made the router stopped working.Features.
This means if the current RouterOS version is v6.43.6, the script will automatically install v6.43. So you can easily find the backup you need among multiple devices. Backups and notifications about new RouterOS release - Except backups, script also checks for new RouterOS firmware release and provides this information in the email. Backups and automatic RouterOS upgrade - Script makes a backup, then checks for new RouterOS version, and if new firmware released, script will initiate upgrade process. The first one contains system backups of the previous RouterOS version, the second message will be sent when the upgrade process is done. In my experience it is easy to plan and talk talk about upgrading existing routers but another to actually do it. At the very least, the task it is laborious and something to keep getting put off and off. I have been doing this long enough to have lived through updates the break things, so I am hesitant to go all in. Can we get the best of both worlds Hence - a possible enhancement that gets us some of the way there. Could we pause or delay an update from installing from a time perspective For example - 1 - Execute the check for new update for whatever channel you are on - as it does today. Add a variable that delays the actual update by some number of days - say 7 for example. This could be done by creating schedulescript for that future time or perhaps disables the process on a timer 3 - Pause disable the daily check 4 - Execute the upgrade after the delay expires or date is reached and send emails 5 - Re-enable the daily check schedule That would give us time to evaluate new updates. We could intervene if necessary and stop the update, delay it, etc. This would give a little buffer for us to do our due diligence and intervene if necessary. I realize this may not be perfect and some issues that may have not been discovered in the 7 day example window could still persist, but should catch most. Simple script backup and export configuration: Code: Select all:system backup save nameflashsystem identity get nameautobackup.backup. Very simple script send backup and configuration: Code: Select all tool e-mail send fileflashsystem identity get nameautobackup.backup toEMAIL subjectsystem identity get namebackup. When it runs automatically, it does not see the updated firmware and does not do it on its own. But If I had lots of routers and lots of time, I would have setup a web page there I could control the scrip remote. Then depending on the information there, control what the upgrade should do. With this type of approach you could the the router to downgrade if needed. The funny thing. I just manually ran the script, and it immediately updated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |