Christian Hesse
420986fdfc
packages-update: use 'provides' to find backup scripts
2021-06-23 08:38:44 +02:00
Christian Hesse
1e1b98b161
upload-backup: remove file after upload
2021-06-16 14:59:16 +02:00
Christian Hesse
666cd3f184
upload-backup: add second symbol
2021-04-29 22:37:36 +02:00
Christian Hesse
51007f9224
upload-backup: work inside directory
2021-04-29 21:29:32 +02:00
Christian Hesse
9fc75f5932
upload-backup: pass origin to $SendNotification2
2021-04-28 13:58:37 +02:00
Christian Hesse
66a92c3da9
upload-backup: use $SendNotification2
2021-04-28 13:58:37 +02:00
Christian Hesse
bc8b19fc31
upload-backup: add configurable random delay
2021-02-24 21:51:56 +01:00
Christian Hesse
f46db91845
global: give script or function name in log messages
2021-02-24 21:51:54 +01:00
Christian Hesse
d5afc79eed
global: drop script 'global-wait'
...
All scripts wait for the global functions on their own now.
2021-02-18 21:45:38 +01:00
Christian Hesse
e6f705f9e6
upload-backup: wait to be fully connected
2021-02-18 09:12:44 +01:00
Christian Hesse
17d7678e2d
global-functions: drop support for attachment in notification e-mail
2021-02-16 16:04:18 +01:00
Christian Hesse
547fbc630a
update copyright for 2021
2021-01-01 21:33:52 +01:00
Christian Hesse
ca4e25283f
global-functions: clickable links in telegram notifications
2020-11-26 23:04:05 +01:00
Christian Hesse
8425290d1d
upload-backup: hint failure in subject
2020-10-07 23:27:09 +02:00
Christian Hesse
1cb7194ec5
upload-backup: exit with error on error
...
The error has been logged before, so just make sure to exit with error.
2020-10-07 23:27:09 +02:00
Christian Hesse
49737af6d1
extend magic pattern with "by RouterOS"
...
This matches the string included in export.
2020-09-18 11:00:27 +02:00
Christian Hesse
d320fa93f2
upload-backup: remove extra curly bracket
2020-09-01 11:32:27 +02:00
Christian Hesse
b9c699b29f
upload-backup: wait for file
2020-09-01 11:19:20 +02:00
Christian Hesse
8eaf24e274
upload-backup: change symbol to warning sign on failure
2020-07-17 12:00:59 +02:00
Christian Hesse
d1cba3fc05
upload-backup: add symbol in notification
2020-07-17 11:23:17 +02:00
Christian Hesse
71ad56aacc
explicitly name the license
...
Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
https://www.gnu.org/licenses/#GPL
https://www.gnu.org/licenses/gpl.html
https://www.gnu.org/licenses/gpl.md
2020-06-19 22:17:42 +02:00
Christian Hesse
413287586f
upload-backup: use $LogPrintExit
2020-04-03 17:30:51 +02:00
Christian Hesse
c32a727b6e
add doc/upload-backup.md
2020-03-27 22:12:49 +01:00
Christian Hesse
001e7eeb39
global-functions: sort alphabetically
2020-02-28 15:26:26 +01:00
Christian Hesse
ceaa83b83e
global-functions: merge $LogAnd{Error,Put} to $LogPrintExit ...
...
... and fix logging.
Logging with severity from variable (:log $severity ...) is not
possible, this is considered a syntax error. Also the 'workaround' with
parsing code failed with missing message in log.
The reliable code is a lot longer, so merge the two functions to save a
lot of duplicate code.
2020-02-26 14:19:54 +01:00
Christian Hesse
3ebf68a08c
global-functions: $LogAndError: add severity
2020-02-26 12:09:19 +01:00
Christian Hesse
0e6438eaff
upload-backup: use $LogAndError
2020-02-26 11:51:49 +01:00
Christian Hesse
afb9839073
update copyright for 2020
2020-01-01 17:00:39 +01:00
Christian Hesse
73a3e58c8f
{email,upload}-backup: update wording
2019-11-21 22:22:04 +01:00
Christian Hesse
94581741f4
global-functions: introduce and use $DeviceInfo
2019-09-12 21:29:41 +02:00
Christian Hesse
44437c6846
upload-backup: make notification silent
2019-08-18 21:30:59 +02:00
Christian Hesse
39eef1a0b1
upload-backup: get values into array
2019-07-24 11:13:53 +02:00
Christian Hesse
55313b4841
upload-backup: get values into array
2019-07-24 11:06:50 +02:00
Christian Hesse
8d1313f588
add script 'upload-backup'
2019-07-19 11:46:29 +02:00