aboutsummaryrefslogtreecommitdiffstats
path: root/doc/backup-partition.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-05-22 12:03:53 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-05-23 12:11:41 +0200
commitaffa11816182fa2bff454b3e82df3166c6cdd744 (patch)
tree82fb7afacf8f04b1d6381025d0ecf21f596d7eb1 /doc/backup-partition.md
parent6cbe13a135fe39c097b6a7078506d99eedde2e06 (diff)
backup-partition: support copy before feature update
Diffstat (limited to 'doc/backup-partition.md')
-rw-r--r--doc/backup-partition.md18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/backup-partition.md b/doc/backup-partition.md
index 8996203..1cef2c9 100644
--- a/doc/backup-partition.md
+++ b/doc/backup-partition.md
@@ -18,7 +18,8 @@ Description
This script saves the current configuration to fallback
[partition](https://wiki.mikrotik.com/wiki/Manual:Partitions).
-It can also copy-over the RouterOS installation when run interactively.
+It can also copy-over the RouterOS installation when run interactively
+or just before a feature update.
For this to work you need a device with sufficient flash storage that is
properly partitioned.
@@ -29,8 +30,7 @@ added in the backup partition's configuration. You may want to use
> ⚠️ **Warning**: By default only the configuration is saved to backup
> partition. Every now and then you should copy your installation over
-> for a recent RouterOS version! For that run the script from terminal
-> manually.
+> for a recent RouterOS version! See below for options.
Requirements and installation
-----------------------------
@@ -39,6 +39,18 @@ Just install the script:
$ScriptInstallUpdate backup-partition;
+Configuration
+-------------
+
+The configuration goes to `global-config-overlay`, the only parameter is:
+
+* `BackupPartitionCopyBeforeFeatureUpdate`: copy-over the RouterOS
+ installation when a feature update is pending
+
+> ℹ️ **Info**: Copy relevant configuration from
+> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
+> your local `global-config-overlay` and modify it to your specific needs.
+
Usage and invocation
--------------------