HELP: How to get the command line that stored to the router

Hello,
i’m an armature in Mikrotik. I always try to find my sollution to make the suitable configuration for my mikrotik. I need to make a new configuration for my another mikrotik. But this point the configuration is too big, and now i need to get the command lines that i stored to the router. So, is there any way to get the command lines that i stored??.. If it’s possible, then i just have to change some lines and it would be easy for me to make a better configuration.. Waiting for some professional’s valuable reply… :slight_smile:

Hello aslanbdb
If you want to get the configuration from one router and modify it for your new router than you can use the binary backup command from your CommandLine.

Open New Terminal in Winbox

Type the command below :
export file=“Backup Old Router Configuration”

This will backup all your router configurations and save it under files tab in winbox.

you can drag and drop the file to your desktop or where ever you want and use a file editor like notepad to modify the file as you want it.

Hope this is what you want.


Hudson

One note tho.

When you backup one router and restore another it will change your port mac addresses on the new router to match the original router. If these 2 routers are going to exist on the same network you’ll likely want to reset the mac addresses on the new router. You can do this by clicking each ethernet interface within winbox and there is a button that says reset mac.

usually its simpler to make assembled config file and them simply import it by “import xxx command”
just avoid anything binary and hw-bound in config(and avoid importing binary config files for same reasons)