introduce backup-partition

(cherry picked from commit 71b69fc189)
This commit is contained in:
Christian Hesse 2022-03-30 18:03:50 +02:00
parent 58f5a4fced
commit 82c0e1c44c
11 changed files with 91 additions and 4 deletions

View file

@ -55,6 +55,7 @@ See also
--------
* [Send backup via e-mail](backup-email.md)
* [Save configuration to fallback partition](doc/backup-partition.md)
* [Upload backup to server](backup-upload.md)
---

View file

@ -46,6 +46,7 @@ See also
--------
* [Upload backup to Mikrotik cloud](backup-cloud.md)
* [Save configuration to fallback partition](doc/backup-partition.md)
* [Upload backup to server](backup-upload.md)
---

45
doc/backup-partition.md Normal file
View file

@ -0,0 +1,45 @@
Save configuration to fallback partition
========================================
[◀ Go back to main README](../README.md)
> **Info**: This script can not be used on its own but requires the base
> installation. See [main README](../README.md) for details.
Description
-----------
This script saves the current configuration to fallback
[partition](https://wiki.mikrotik.com/wiki/Manual:Partitions).
For this to work you need a device with sufficient flash storage that is
properly partitioned.
Requirements and installation
-----------------------------
Just install the script:
$ScriptInstallUpdate backup-partition;
Usage and invocation
--------------------
Just run the script:
/ system script run backup-partition;
Creating a scheduler may be an option:
/ system scheduler add interval=1w name=backup-partition on-event="/ system script run backup-partition;" start-time=09:30:00;
See also
--------
* [Upload backup to Mikrotik cloud](backup-cloud.md)
* [Send backup via e-mail](backup-email.md)
* [Upload backup to server](backup-upload.md)
---
[◀ Go back to main README](../README.md)
[▲ Go back to top](#top)

View file

@ -69,8 +69,9 @@ Creating a scheduler may be an option:
See also
--------
* [Send backup via e-mail](backup-email.md)
* [Upload backup to Mikrotik cloud](backup-cloud.md)
* [Send backup via e-mail](backup-email.md)
* [Save configuration to fallback partition](doc/backup-partition.md)
---
[◀ Go back to main README](../README.md)

View file

@ -43,6 +43,7 @@ See also
* [Notify on RouterOS update](check-routeros-update.md)
* [Upload backup to Mikrotik cloud](backup-cloud.md)
* [Send backup via e-mail](backup-email.md)
* [Save configuration to fallback partition](doc/backup-partition.md)
* [Upload backup to server](backup-upload.md)
* [Automatically upgrade firmware and reboot](firmware-upgrade-reboot.md)