Commit graph

9 commits

Author SHA1 Message Date
Christian Hesse
c3f9ad1df7 packages-update: implement backup script order 2023-09-13 01:14:27 +02:00
Christian Hesse
ce822a0276 backup-email: 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
1e247542a5 backup-email: check configuration size before writing file 2023-08-30 09:30:25 +02:00
Christian Hesse
07c6f5836a backup-email: detect failure creating config file 2023-08-29 08:58:50 +02:00
Christian Hesse
ffc7521a35 backup-email: support indication of failure 2023-08-29 08:58:50 +02:00
Christian Hesse
3c96db5824 backup-email: write config file directly
This functionality was added in RouterOS 7.9beta4...
2023-08-29 08:58:50 +02:00
Christian Hesse
229e116999 backup-email: lock the script 2023-06-12 08:17:36 +02:00
Christian Hesse
637b5e21da backup-email: 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