Commit graph

29 commits

Author SHA1 Message Date
Christian Hesse
8c39f41ffc rename script cloud-backup -> backup-cloud 2022-01-06 08:19:58 +01:00
Christian Hesse
95e9820718 update copyright for 2022 2022-01-01 21:38:15 +01:00
Christian Hesse
420986fdfc packages-update: use 'provides' to find backup scripts 2021-06-23 08:38:44 +02:00
Christian Hesse
aa4ad27b0a cloud-backup: add second symbol 2021-04-29 22:37:36 +02:00
Christian Hesse
a9b932d67e cloud-backup: pass origin to $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse
d6edf6c2d3 cloud-backup: use $SendNotification2 2021-04-28 13:58:37 +02:00
Christian Hesse
6770a15a7d cloud-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
1c40a90c79 cloud-backup: wait to be fully connected 2021-02-18 09:12:07 +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
0009c7fc65 cloud-backup: add unit for size, add KiB 2020-10-13 20:46:30 +02:00
Christian Hesse
2be4a2ce98 cloud-backup: send notification on error and do exit 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
ff5cdc3019 [ ... print count-only ...] -> [ :len [ ... find ... ] ]
Using 'print count-only' always prints a number to terminal, even if the
value is evaluated in a condition or assigned to a variable. This can be
quite annoying. Behavior will not chance (SUP-25503), so replacing the
code...
2020-08-26 09:29:52 +02:00
Christian Hesse
e0fe98a274 cloud-backup: add symbol in notification 2020-07-17 11:22:40 +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
03ae65c5f1 cloud-backup: use $LogPrintExit 2020-04-03 17:30:00 +02:00
Christian Hesse
d1bba48cc7 add doc/cloud-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
afb9839073 update copyright for 2020 2020-01-01 17:00:39 +01:00
Christian Hesse
94581741f4 global-functions: introduce and use $DeviceInfo 2019-09-12 21:29:41 +02:00
Christian Hesse
0f27c935d8 cloud-backup: make notification silent 2019-08-18 21:30:59 +02:00
Christian Hesse
be133146dd cloud-backup: do not remove but replace cloud backup
The replace functionality for cloud backup is available
with version 6.45beta42.
2019-07-24 23:42:28 +02:00
Christian Hesse
5789b8d984 cloud-backup: get values into array 2019-07-24 11:12:52 +02:00
Christian Hesse
1020db0b31 cloud-backup: get values into array 2019-07-24 11:05:44 +02:00
Christian Hesse
5101d57d52 backup: split off cloud-backup
Currently backup to MikroTik cloud is pretty unreliable and script can
not catch errors at runtime. Looks like this does not change any time
soon (Ticket#2019052022003204).

So let's just split off the cloud backup to make sure email backup works
as expected.
2019-06-14 15:13:41 +02:00