system backup save dont-encrypt=yes name=$backupName :log info "$SMP Script Mode: $scriptMode, forceBackup: $forceBackup" :log info "\r\n$SMP script \"Mikrotik RouterOS automatic backup & update\" started." # !!!! DO NOT CHANGE ANYTHING BELOW THIS LINE, IF YOU ARE NOT SURE WHAT YOU ARE DOING !!!! # # Script will send information if new version is greater than just patch. # Means that new update will be installed only if MAJOR and MINOR version numbers remained the same as currently installed RouterOS. # Works only if you set scriptMode to "osupdate" # Install only patch versions of RouterOS updates. Possible values: stable, long-term, testing, development # If true, passwords will be included in exported config. # Backup encryption password, no encryption if no password. # Set `true` if you want the script to perform backup every time it's fired, whatever script mode is set. # Additional parameter if you set `scriptMode` to `osupdate` or `osnotify` # Change parameter `forceBackup` if you need the script to create backups every time when it runs. # osnotify - The script will send email notification only (without backups) if a new RouterOS is available. # Change parameter `forceBackup` if you need the script to create backups every time when it runs (even when no updates were found). # Email will be sent only if a new RouterOS version is available. # It will also create backups before and after update process (does not matter what value is set to `forceBackup`) # osupdate - The Script will install a new RouterOS if it is available. # backup - Only backup will be performed. :local emailAddress Script mode, possible values: backup, osupdate, osnotify. # (Make sure you have configurated Email settings in Tools -> Email) # Minimum supported RouterOS version is v6.43.7 # You can contact me by e-mail at IMPORTANT! # Script: Mikrotik RouterOS automatic backup & update
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |