aboutsummaryrefslogtreecommitdiffstats
path: root/backup-partition.rsc
AgeCommit message (Collapse)AuthorFilesLines
2024-12-09backup-partition: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+11
2024-10-22backup-partition: drop warning on lock in device-moderouteros-7.17beta4-1Gravatar Christian Hesse1-8/+0
... as switching partitions is possible again in RouterOS 7.17beta4.
2024-10-09backup-partition: log the warning just onceGravatar Christian Hesse1-1/+2
2024-09-30backup-partition: give warning on lock in device-moderouteros-7.17beta2-1Gravatar Christian Hesse1-0/+7
RouterOS 7.17beta2 introduced some extra security measures, including some to prevent downgrade attacks for the installation. Thus switching partitions (which can hold quite old installations) is denied by device-mode now by default. Warn about that... https://help.mikrotik.com/docs/display/ROS/Device-mode
2024-09-13backup-partition: use $VersionToNum to calculate bitmaskGravatar Christian Hesse1-1/+2
2024-07-16bump RouterOS requirement for all scripts and modules...Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.14 anyway.
2024-07-08backup-partition: check that target is inactiveGravatar Christian Hesse1-2/+2
2024-07-08backup-partition: check the fallback partition actually exists...Gravatar Christian Hesse1-8/+16
... and use its id for actions.
2024-07-05backup-partition: rename variableGravatar Christian Hesse1-8/+8
2024-05-23backup-partition: support copy before feature updateGravatar Christian Hesse1-0/+13
2024-05-23backup-partition: move code to a local functionGravatar Christian Hesse1-5/+17
2024-05-23backup-partition: support RouterOS copy-over...Gravatar Christian Hesse1-0/+17
... when run interactively from CLI.
2024-04-07bump RouterOS requirement for all scripts and modules...routeros-7.13-6Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.13 anyway.
2024-03-12backup-partition: switch to $LogPrintGravatar Christian Hesse1-7/+5
2024-03-12backup-partition: pass failure to packages-updateGravatar Christian Hesse1-3/+12
2024-03-12backup-partition: drop main function, use :do with on-errorGravatar Christian Hesse1-6/+4
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-04backup-partition: move code into functionGravatar Christian Hesse1-25/+30
2024-02-02backup-partition: make sure to remove the scheduler on failureGravatar Christian Hesse1-0/+1
2024-02-02backup-partition: get the actual real name...Gravatar Christian Hesse1-4/+4
... to prevent confusion after restore.
2024-02-02backup-partition: add a scheduler in backup...Gravatar Christian Hesse1-0/+4
... that logs a warning when backup is booted.
2024-02-02backup-partition: use plain variable for nameGravatar Christian Hesse1-4/+4
2024-01-30backup-partition: use :jobname to get script nameGravatar Christian Hesse1-1/+2
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-09-13packages-update: implement backup script orderGravatar Christian Hesse1-1/+1
2023-06-12backup-partition: lock the scriptGravatar Christian Hesse1-0/+3
2023-03-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-0/+36
No functional change for the user... The migration is done automatically.