Commit graph

31 commits

Author SHA1 Message Date
Christian Hesse
d57916fc26 backup-cloud: check for global config to be ready 2025-05-08 09:51:07 +02:00
Christian Hesse
7d4e4ec273 backup-cloud: fail if global functions do not become ready 2025-05-08 09:51:07 +02:00
Christian Hesse
02a205b14e backup-cloud: use :onerror for outer block 2025-05-06 09:53:24 +02:00
Christian Hesse
d748b69142 backup-cloud: use $RmDir 2025-02-10 15:23:50 +01:00
Christian Hesse
4bfb591fa0 bump required RouterOS version for all scripts 2025-02-07 17:44:41 +01:00
Christian Hesse
5281b4ba02 backup-cloud: use short url rsc.eworm.de 2025-01-29 14:14:26 +01:00
Christian Hesse
db508ddcd1 backup-cloud: refuse when running from backup partition 2025-01-06 09:31:38 +01:00
Christian Hesse
9e3729c279 update copyright for 2025 2025-01-02 00:04:06 +01:00
Christian Hesse
36b81fab94 backup-cloud: use $ExitError to indicate unintentional error 2024-12-09 11:49:50 +01:00
Christian Hesse
6fbafe76ba bump RouterOS requirement for all scripts and modules...
... now that global-functions requires RouterOS 7.14 anyway.
2024-07-16 13:50:22 +02:00
Christian Hesse
9c899f871d backup-cloud: remove trailing spaces
How did I produce these!? 😳
2024-06-10 18:11:37 +02:00
Christian Hesse
cd4ac2c088 backup-cloud: log note on previous connection errors 2024-06-05 15:05:43 +02:00
Christian Hesse
57ebcfb41c backup-cloud: retry on error...
Let's see if brute force helps. 🤪
2024-04-29 23:02:48 +02:00
Christian Hesse
5f1656b7ce backup-cloud: clean up and simplify code 2024-04-29 18:03:40 +02:00
Christian Hesse
505074e6d3 backup-cloud: no early exit...
... as we want to make sure the directory (and its content) is removed.
2024-04-29 18:03:40 +02:00
Christian Hesse
3015743b19 global-functions: $HumanReadableNum: indicate binary base...
... and update scripts to match the change.
2024-04-07 22:51:24 +02:00
Christian Hesse
009674b5bc bump RouterOS requirement for all scripts and modules...
... now that global-functions requires RouterOS 7.13 anyway.
2024-04-07 22:51:24 +02:00
Christian Hesse
ac3b755fdc backup-cloud: switch to $LogPrint 2024-03-12 20:37:57 +01:00
Christian Hesse
c82f776632 backup-cloud: pass failure to packages-update 2024-03-12 15:27:15 +01:00
Christian Hesse
15c68c5660 backup-cloud: drop main function, use :do with on-error 2024-03-12 15:27:15 +01:00
Christian Hesse
050ccd490e backup-cloud: add a short delay
Not sure it helps, but chances are...
2024-03-12 15:27:15 +01:00
Christian Hesse
955ee8499b backup-cloud: catch error with :execute workaround
Catching a runtime error here fails... So let's try a workaround
with :execute...
2024-03-12 15:27:15 +01:00
Christian Hesse
1e8918fdaa global-functions: $ScriptLock: do not exit from global function 2024-03-12 15:27:15 +01:00
Christian Hesse
33d129496c backup-cloud: move code into function 2024-03-04 16:33:51 +01:00
Christian Hesse
72a03c4dbb backup-cloud: use :jobname to get script name 2024-01-30 00:52:21 +01:00
Christian Hesse
9a73fc526f update copyright for 2024 2024-01-01 15:25:25 +01:00
Christian Hesse
180d6b8733 backup-cloud: use $HumanReadableNum for file size 2023-11-15 14:34:40 +01:00
Christian Hesse
c3f9ad1df7 packages-update: implement backup script order 2023-09-13 01:14:27 +02:00
Christian Hesse
4aaa144472 backup-cloud: lock the script 2023-06-12 08:17:36 +02:00
Christian Hesse
31553f86a6 backup-cloud: 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