aboutsummaryrefslogtreecommitdiffstats
path: root/backup-upload.rsc
AgeCommit message (Collapse)AuthorFilesLines
2024-12-09backup-upload: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
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-04-29backup-upload: no early exit...Gravatar Christian Hesse1-1/+0
2024-04-23backup-upload: remove temporary directoryGravatar Christian Hesse1-0/+1
2024-04-07global-functions: $HumanReadableNum: indicate binary base...Gravatar Christian Hesse1-1/+1
... and update scripts to match the change.
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-upload: switch to $LogPrintGravatar Christian Hesse1-6/+8
2024-03-12backup-upload: pass failure to packages-updateGravatar Christian Hesse1-1/+4
2024-03-12backup-upload: 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-upload: move code into functionGravatar Christian Hesse1-122/+127
2024-01-31backup-upload: use $CleanNameGravatar Christian Hesse1-2/+2
2024-01-30backup-upload: use :jobname to get script nameGravatar Christian Hesse1-1/+2
2024-01-19backup-upload: fix the upload symbol...Gravatar Christian Hesse1-1/+1
... which broke with commit 080bef89a934980271a50eed25a494a0bc33d007.
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-11-22backup-upload: get rid of '.txt' file extensionGravatar Christian Hesse1-4/+4
2023-11-15backup-upload: build file info in a functionGravatar Christian Hesse1-14/+18
2023-11-15backup-upload: give more info on filesGravatar Christian Hesse1-6/+19
2023-09-13packages-update: implement backup script orderGravatar Christian Hesse1-1/+1
2023-08-30backup-upload: revert changes, add comment with warningGravatar Christian Hesse1-21/+13
Turned out that using `/file/add ...` introduced a regression. Accessing (reading and writing) file contents is limited to 4095 bytes. This limitation does not exist for `:execute script=... file=...`, so keep the old code. Also add a comment with warning.
2023-08-30backup-upload: check configuration size before writing fileGravatar Christian Hesse1-7/+9
2023-08-29backup-upload: detect failure creating config fileGravatar Christian Hesse1-6/+13
2023-08-29backup-upload: write config file directlyrouteros-7.9beta4-7Gravatar Christian Hesse1-5/+5
This functionality was added in RouterOS 7.9beta4...
2023-06-12backup-upload: lock the scriptGravatar Christian Hesse1-0/+2
2023-04-24backup-upload: use $FormatLineGravatar Christian Hesse1-3/+4
2023-03-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-0/+129
No functional change for the user... The migration is done automatically.