ℹ️ Info: This script can not be used on its own but requires the base installation. See main README for details.
In rare cases RouterOS fails to properly downlaod package on update
(/system/package/update/install
), resulting in borked system with missing
packages. This script tries to avoid this situation by doing some basic
verification.
But it provides some extra functionality:
- upload backup to Mikrotik cloud if backup-cloud is installed
- send backup via e-mail if backup-email is installed
- save configuration to fallback partition if backup-partition is installed
- upload backup to server if backup-upload is installed
- schedule reboot at night
Just install the script:
$ScriptInstallUpdate packages-update;
It is automatically run by check-routeros-update if available.
The configuration goes to global-config-overlay
, this is the only parameter:
PackagesUpdateDeferReboot
: defer the reboot for night (between 3 AM and 5 AM)
By modifying the scheduler's start-time
you can force the reboot at
different time.
ℹ️ Info: Copy relevant configuration from
global-config
(the one without-overlay
) to your localglobal-config-overlay
and modify it to your specific needs.
Alternatively run it manually:
/system/script/run packages-update;
- Upload backup to Mikrotik cloud
- Send backup via e-mail
- Save configuration to fallback partition
- Upload backup to server
- Notify on RouterOS update
- Automatically upgrade firmware and reboot