routeros-scripts/doc/packages-update.md

1.6 KiB
Raw Blame History

Manage system update

⬅️ Go back to main README

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


⬅️ Go back to main README
⬆️ Go back to top