Community discussions

MikroTik App
 
kokaKorina
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Wed Oct 31, 2018 5:07 pm

Backup for the mikrotik

Thu Feb 21, 2019 4:20 pm

Hello everyone I have a question what is the best way for doing backup and loading onto other mikrotik. I used export and loaded it onto the other mikrotik but Do I need to change mac addresses and what other changes do I need to make and what about the binary one if i load binary onto the other mikrotik if both are different models is that gonna cause any problem .
Whats the best possible way? Where I need exactly the same thing on same or different mikrotik ?
Thanks
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22373
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Backup for the mikrotik

Thu Feb 21, 2019 5:06 pm

I havent been very lucky at transferring whole backups between routers of the same ilk or different ilk.
I tend to copy configs over parts at a time.
Once I am done I put both copies into notepad plus plus and use their add on tool to do a file to file comparison.
The comparison highlights every slight difference between the two configs.
So my answer is.. I do it the hard way. :-)
Last edited by anav on Thu Feb 21, 2019 6:19 pm, edited 1 time in total.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13278
Joined: Thu Mar 03, 2016 10:23 pm

Re: Backup for the mikrotik

Thu Feb 21, 2019 5:40 pm

Binary backups should only be restored on the very same unit. The reason mostky being MAC addresses. Other than that it would be fine to restore them on different unit but same model.

ASCII exports are more versatile (MAC addresses might still be an issue) and could be replayed on different models, but lack some vital data: usernames and passwords, certificates and key files ... and possibly some more ...

The replay on different model will likely fail at some point as well, it can't survive a missing interface or different config syntax due to different peripherals or something else ... but at least you'll see the failure while failing binary restore leaves device in non-working condition.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10568
Joined: Mon Jun 08, 2015 12:09 pm

Re: Backup for the mikrotik

Thu Feb 21, 2019 5:45 pm

Transfer of configuration from one router to another (both to continue service after hardware failure and to serve as template for a new router) is a function that certainly needs improvement in RouterOS.

There should be functions like "restore but ignore MAC addresses" and "continue after minor errors/mismatches".

As it is now, it is a lot of work to get it right.
 
kokaKorina
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Wed Oct 31, 2018 5:07 pm

Re: Backup for the mikrotik

Thu Feb 21, 2019 10:03 pm

Thanks to all of you guys
 
gulzoo
just joined
Posts: 10
Joined: Wed Nov 29, 2017 5:31 pm
Location: Slovenia

Re: Backup for the mikrotik  [SOLVED]

Thu Feb 21, 2019 11:00 pm

Hi,

I would use binary backup only for the same device and not for transfering configuration to other Mikrotik device. Especially not if there are different models. I experienced very weird stuff after I restored the binary backup to another device.

Always use export and import for transfering configuration to different device. I personally copy parts of the configuration from notepad and paste to the new device and at the same time check if any error happens and correct the commands. Same as anav suggested :) I always use the same version of RouterOS as the source because Mikrotik can change some commands. If you use the import option always check the last line of the configuration if it was applyed to the new device. That way you know if the configuration was sucessfully applyed.

About the MAC addresses just for the info you can use the command /interface ethernet reset-mac-address to reset the MAC address to the original MAC address of the ethernet port.

Andrej