Christian Hesse
c1568a33dd
backup-upload: use $CleanName
2024-01-31 23:10:15 +01:00
Christian Hesse
b4ac193789
backup-upload: use :jobname to get script name
2024-01-30 00:52:21 +01:00
Christian Hesse
21cf6d49bb
backup-upload: fix the upload symbol...
...
... which broke with commit 080bef89a9
.
2024-01-19 17:08:55 +01:00
Christian Hesse
9a73fc526f
update copyright for 2024
2024-01-01 15:25:25 +01:00
Christian Hesse
b75b0bf6be
backup-upload: get rid of '.txt' file extension
2023-11-22 21:17:44 +01:00
Christian Hesse
5f457e5c37
backup-upload: build file info in a function
2023-11-15 14:35:18 +01:00
Christian Hesse
4d70b7fea4
backup-upload: give more info on files
2023-11-15 14:35:09 +01:00
Christian Hesse
c3f9ad1df7
packages-update: implement backup script order
2023-09-13 01:14:27 +02:00
Christian Hesse
49d85c6def
backup-upload: revert changes, add comment with warning
...
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-30 09:30:25 +02:00
Christian Hesse
f099c2c9ea
backup-upload: check configuration size before writing file
2023-08-30 09:30:25 +02:00
Christian Hesse
f86cf27aa3
backup-upload: detect failure creating config file
2023-08-29 08:58:50 +02:00
Christian Hesse
1dd1c5b03c
backup-upload: write config file directly
...
This functionality was added in RouterOS 7.9beta4...
2023-08-29 08:58:50 +02:00
Christian Hesse
1167347ec0
backup-upload: lock the script
2023-06-12 19:04:23 +02:00
Christian Hesse
bac6a72d51
backup-upload: use $FormatLine
2023-04-24 22:26:26 +02:00
Christian Hesse
a832fd04ef
rename scripts and add file extension ".rsc"
...
No functional change for the user... The migration is done
automatically.
2023-03-07 22:26:01 +01:00