Commit graph

8 commits

Author SHA1 Message Date
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