i just used the binary file backup and restore from one router to another router using windbox and it worked. at least the new router took the restore and rebooted and came up correctly.
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 cofiguration 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.
Restoring binary backups on other hardware is definitely not recommended. You may, among other things, have cloned MAC addresses, which would lead to problems if the two routers ever share a broadcast domain.
ok i did several exports and imports and found several issues…
The command executed on root was "export file=all_config
this backed up everything thing to all_config.rsc
once opening this file there is several discrepancies:
when importing, all ip addresses are missing in the router even though the /ip address is in the .rsc
user list missing users, the .rsc does not have all users in it during export, only the default admin user.
When exporting, it also parses the scripts files inside the export file…
when exporting and importing onto a different router in case of a replacement for instance, the mac addresses of all ports on the old router get imported to the new router. In this case, none of the port work.
getting an error on import stating : failure: group with the same name already exists, yet i cannot see in the .rsc what it’s refering to…
Hence the comment by Mikrotik staff that you have to edit the file.
To make this clear: there is no way to transfer a configuration from one router to the other in just one go. Binary backups aren’t supported on anything other than the device where the backup was created, text backups need heavy manual editing before they can be imported. This is a shortcoming in RouterOS, and my biggest gripe with the product.
What’s the meaning of backing up if you can’t even restore onto a new router (same model) ?
This is absolutely ridiculous…
I just tried restoring the backup binary file and it seems to be ok, i mean the mac address of the new router have not been replaced with the old routers mac, user list is there, ip’s are there…
Can Microtik specifically say why and what causes problem when doing the Backup/Restore to a binary file?
Can Microtik specifically say why and what causes problem when doing the Backup/Restore to a binary file?
there are no problems if the router is the same or similar. however, an rsc file gives you the abiility to make a clean universal import file where you know exactly what it will import.
actually there was a nice program for editing these configuration exports, but I can’t find it, it was posted here on the forum, one of the users made it. Maybe Fewi remembers it?
This script is nice, but seems to be missing parts also.
For instance, the ppp secret is in the rsc file when importing, yet does not get populated…
Also, I keep getting a group name already exist, yet i dont know what group name it’s talking about… the error indication is not very informative…
Script file loaded successfullyfailure: group with the same name already exists
Before importing, i execute “system reset-configuration no-defaults=yes” just to make sure everything is removed from the router. Yet it looks like the import is failing half way but not sure where.