Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sub-menu: /partition

Partitioning is supported on MIPS, TILE, and PowerPC RouterBOARD type devices.

...

If a partition should fail for some reason (failed upgrade, problematic configuration introduced, software problem), the next partition will boot instead. This can be used as an interactive backup where you keep a verified working installation , and upgrade only some secondary partition. If you upgrade your configuration, and it proves to be good, you can use the "save config" button to copy it over to other partitions. 

...

  • 32MB on MIPS
  • 40MB on PowerPC
  • 48MB on TILE

Maximum The maximum number of allowed partitions is 8.

Code Block
languageros
[admin@MikroTikadmin@1009up] > /partitions/partitions> print 
Flags: A - active,ACTIVE; R - running RUNNING
#Columns: NAME, FALLBACK-TO, VERSION, SIZE
# NAME FALL VERSION SIZE 
0 AR part0 next RouterOS v6.0rc5 64Miv7.1beta4 Dec/15/2020 15:55:11 128MiB

Commands

PropertyDescription
repartition (integer)Will reboot the router and reformat the NAND, leaving only active partition.
copy-to (<partition>)Clone running OS with the config to specified partition. Previously stored data on the partition will be erased.
save-config-to (<partition>)Clone running-config on a specified partition. Everything else is untouched.
restore-config-from (<partition>)Copy config from specified partition to running partition

Properties

PropertyDescription
name (string; Default: )Name of the partition
fallback-to (etherboot | next | <partition-name>; Default: next)What to do if an active partition fails to boot:
  • etherboot - switch to etherboot
  • next' - try next partition
  • fallback to the specified partition

Read-only

PropertyDescription
active (yes | no)Partition is active
running (yes | no)Currently running partition
size (integer[MiB])Partition size
version (string)Current RouterOS version installed on the partition