Basically self-explanatory. Mikrotik's RouterOS has two distinct functions, one which backs up the router and one which exports the configuration of the router. What exactly is the difference, and when should one use one instead of the other?
2 Answers
Reading the actual vendor documentation is usually the best approach to answer such questions.
The configuration backup can be used for backing up MikroTik RouterOS configuration to a binary file, which can be stored on the router or downloaded from it using FTP for future use. The configuration restore can be used for restoring the router's configuration, exactly as it was at the backup creation moment, from a backup file. The restoration procedure assumes the configuration is restored on the same router, where the backup file was originally created, so it will create partially broken configuration if the hardware has been changed.
The configuration export can be used for dumping out complete or partial MikroTik RouterOS configuration to the console screen or to a text (script) file, which can be downloaded from the router using FTP protocol. The configuration dumped is actually a batch of commands that add (without removing the existing configuration) the selected configuration to a router. The configuration import facility executes a batch of console commands from a script file.
http://wiki.mikrotik.com/wiki/Manual:Configuration_Management
-
1Wish I could upvote +10, for "RTFM". – MadHatter Oct 15 '16 at 11:53
Dont use backups, except if you want to keep the passwords in the backup file. Config export is more portable (i.e. you can push the config to another device, and even another type of device, given it has more or equal capabilities).
Standard case is : you device is broken, so you put another one (similar) and load up the backup.. which does not work because it's another device. You are screwed. Don't use backups.
![](../../users/profiles/313578.webp)
- 212
- 2
- 6
-
Both options have their use cases. Being so absolute about the Backup functionality is not really useful. So, assuming I shared your opinion, how would you backup the private keys or user accounts of your router without a full backup? Export does not export keys or users. – Cha0s Oct 17 '16 at 12:55
-
Yes this is why i put "except if you want to keep passwords"; in other cases Backup is a trap. The "backup" terminology makes ones think that he will be able to restore his config if the device fails.. Which is not the case. It should be called "binary_dump" or something similar, but not "backup". – Benoit PHILIPPON Oct 17 '16 at 14:42