From 8c39f41ffcf3af7fe6d8b4091db5791756f59879 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 5 Jan 2022 22:36:49 +0100 Subject: rename script cloud-backup -> backup-cloud --- doc/backup-cloud.d/notification.svg | 216 ++++++++++++++++++++++++++++++++++++ doc/backup-cloud.md | 54 +++++++++ doc/cloud-backup.d/notification.svg | 216 ------------------------------------ doc/cloud-backup.md | 55 +-------- doc/email-backup.md | 2 +- doc/log-forward.d/notification.svg | 2 +- doc/upload-backup.md | 2 +- 7 files changed, 274 insertions(+), 273 deletions(-) create mode 100644 doc/backup-cloud.d/notification.svg create mode 100644 doc/backup-cloud.md delete mode 100644 doc/cloud-backup.d/notification.svg (limited to 'doc') diff --git a/doc/backup-cloud.d/notification.svg b/doc/backup-cloud.d/notification.svg new file mode 100644 index 0000000..b023e50 --- /dev/null +++ b/doc/backup-cloud.d/notification.svg @@ -0,0 +1,216 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + [MikroTik] 💾☁ Cloud backup + +Uploaded backup for MikroTik to cloud. + +Hostname: MikroTik +Board name: CHR +Architecture: x86_64 +RouterOS: + Channel: stable + Installed: 6.48.3 +RouterOS-Scripts: + Current: 55 + +Name: cloud-20210614-092419 +Size: 370767 B (362 KiB) +Download key: LLDBfPcWXxmSetWilqeJX5V + + diff --git a/doc/backup-cloud.md b/doc/backup-cloud.md new file mode 100644 index 0000000..18b9ec1 --- /dev/null +++ b/doc/backup-cloud.md @@ -0,0 +1,54 @@ +Upload backup to Mikrotik cloud +=============================== + +[◀ Go back to main README](../README.md) + +🛈 This script can not be used on its own but requires the base installation. +See [main README](../README.md) for details. + +Description +----------- + +This script uploads [binary backup to Mikrotik cloud](https://wiki.mikrotik.com/wiki/Manual:IP/Cloud#Backup). + +### Sample notification + +![backup-cloud notification](backup-cloud.d/notification.svg) + +Requirements and installation +----------------------------- + +Just install the script: + + $ScriptInstallUpdate backup-cloud; + +Configuration +------------- + +The configuration goes to `global-config-overlay`, these are the parameters: + +* `BackupPassword`: password to encrypt the backup with +* `BackupRandomDelay`: delay up to amount of seconds when run from scheduler + +Also notification settings are required for e-mail, matrix and/or telegram. + +Usage and invocation +-------------------- + +Just run the script: + + / system script run backup-cloud; + +Creating a scheduler may be an option: + + / system scheduler add interval=1w name=backup-cloud on-event="/ system script run backup-cloud;" start-time=09:20:00; + +See also +-------- + +* [Send backup via e-mail](email-backup.md) +* [Upload backup to server](upload-backup.md) + +--- +[◀ Go back to main README](../README.md) +[▲ Go back to top](#top) diff --git a/doc/cloud-backup.d/notification.svg b/doc/cloud-backup.d/notification.svg deleted file mode 100644 index 8b84b8f..0000000 --- a/doc/cloud-backup.d/notification.svg +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - [MikroTik] 💾☁ Cloud backup - -Uploaded backup for MikroTik to cloud. - -Hostname: MikroTik -Board name: CHR -Architecture: x86_64 -RouterOS: - Channel: stable - Installed: 6.48.3 -RouterOS-Scripts: - Current: 55 - -Name: cloud-20210614-092419 -Size: 370767 B (362 KiB) -Download key: LLDBfPcWXxmSetWilqeJX5V - - diff --git a/doc/cloud-backup.md b/doc/cloud-backup.md index 7522bc1..e161cfa 100644 --- a/doc/cloud-backup.md +++ b/doc/cloud-backup.md @@ -1,54 +1 @@ -Upload backup to Mikrotik cloud -=============================== - -[◀ Go back to main README](../README.md) - -🛈 This script can not be used on its own but requires the base installation. -See [main README](../README.md) for details. - -Description ------------ - -This script uploads [binary backup to Mikrotik cloud](https://wiki.mikrotik.com/wiki/Manual:IP/Cloud#Backup). - -### Sample notification - -![cloud-backup notification](cloud-backup.d/notification.svg) - -Requirements and installation ------------------------------ - -Just install the script: - - $ScriptInstallUpdate cloud-backup; - -Configuration -------------- - -The configuration goes to `global-config-overlay`, these are the parameters: - -* `BackupPassword`: password to encrypt the backup with -* `BackupRandomDelay`: delay up to amount of seconds when run from scheduler - -Also notification settings are required for e-mail, matrix and/or telegram. - -Usage and invocation --------------------- - -Just run the script: - - / system script run cloud-backup; - -Creating a scheduler may be an option: - - / system scheduler add interval=1w name=cloud-backup on-event="/ system script run cloud-backup;" start-time=09:20:00; - -See also --------- - -* [Send backup via e-mail](email-backup.md) -* [Upload backup to server](upload-backup.md) - ---- -[◀ Go back to main README](../README.md) -[▲ Go back to top](#top) +This script has been renamed. Please see [backup-cloud](backup-cloud.md). diff --git a/doc/email-backup.md b/doc/email-backup.md index 85d50bd..bb48e9d 100644 --- a/doc/email-backup.md +++ b/doc/email-backup.md @@ -46,7 +46,7 @@ Creating a scheduler may be an option: See also -------- -* [Upload backup to Mikrotik cloud](cloud-backup.md) +* [Upload backup to Mikrotik cloud](backup-cloud.md) * [Upload backup to server](upload-backup.md) --- diff --git a/doc/log-forward.d/notification.svg b/doc/log-forward.d/notification.svg index b3389fe..373144b 100644 --- a/doc/log-forward.d/notification.svg +++ b/doc/log-forward.d/notification.svg @@ -170,7 +170,7 @@ ● 13:24:02 script;error cloud-backup: Failed uploading backup ● 13:24:02 script;error backup-cloud: Failed uploading backup for MikroTik to cloud! diff --git a/doc/upload-backup.md b/doc/upload-backup.md index 9566853..203f7f6 100644 --- a/doc/upload-backup.md +++ b/doc/upload-backup.md @@ -63,7 +63,7 @@ See also -------- * [Send backup via e-mail](email-backup.md) -* [Upload backup to Mikrotik cloud](cloud-backup.md) +* [Upload backup to Mikrotik cloud](backup-cloud.md) --- [◀ Go back to main README](../README.md) -- cgit v1.2.3-70-g09d2