
If you already have a RouterOS version 6 system, upgrading to the latest version 7 is really easy and can be done from CLI. If you don't have one, i recommend to use service, it allows sending a thousand emails per month for free.The purpose of this guide is to provide a procedure that you can use to upgrade the RouterOS system (packages) and firmware (bootloader) from version 6 to version 7.

Put the script which you configured earlier into the source area. Important! Script name has to be BackupAndUpdate Important! Don't forget to provide correct email address for backups and pay attention a scriptMode variable. This is not difficult because all parameters are well commented. Take the script and configure it's parameters at the begining of the file. Make sure that your device identity does not contain any spaces or specific symbols! System -> Identity 1. The first one contains system backups of the previous RouterOS version, the second message will be sent when the upgrade process is done (including backups of the updated system). Using email account as storage for your backups.īackups and notifications about new RouterOS release - Except backups, script also checks for new RouterOS firmware release and provides this information in the email.īackups and automatic RouterOS upgrade - Script makes a backup, then checks for new RouterOS version, and if new firmware released, script will initiate upgrade process.



If automatic updates are enabled, you can set script to install only patch versions of RouterOS updates.You can set a preferred update channel.Script creates backups of the whole system and exported config.Ability to choose script operating mode according to your needs.💡 If you have any ideas about the script or you just want to share your opinion, you are welcome to Discussions, or you can open an issue if you found a bug. You can also enable automatic RouterOS upgrade or leave only notifications about new firmware versions. This script provides an ability to create Mikrotik's daily backups to email. Mikrotik RouterOS automatic backup and update
