mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
1.6 KiB
1.6 KiB
Manage system update
ℹ️ Info: This script can not be used on its own but requires the base installation. See main README for details.
Description
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
Requirements and installation
Just install the script:
$ScriptInstallUpdate packages-update;
It is automatically run by check-routeros-update if available.
Usage and invocation
Alternatively run it manually:
/system/script/run packages-update;
See also
- 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