MikroTik Backup and Restore Procedure

MikroTik Backup and Restore Procedure

I know this topic has been covered elsewhere but I want to provide clear and concise steps on how to backup a MikroTik router.  I will also publish a video that covers these steps.

Config Backup .backup Binary File

  1. Connect to router with Winbox
  2. Click on Files
  3. Click Backup, Check or uncheck [ ] Don’t Encrypt
  4. Sort file list by creation time and find newly created backup file
  5. Drag the .backup file to a folder on your PC to copy it.

Text Config Backup .rsc Text File

  1. Connect to router with Winbox
  2. Click “New Terminal
  3. Issue the command export file=myconfig.cfg
  4. Close Terminal
  5. Click on Files and find the newly created mybackup.cfg.rsc backup file.
  6. Drag the file out of Winbox and drop into a folder on the PC to copy it.

You can also open the .rsc file in a text editor to very its contents.

Config Restore with Winbox

  1. Power on new router and connect laptop
  2. Allow the router to boot and connect with Winbox
  3. In Winbox, click on the Neighbors tab and connect to the new unconfigured router.
  4. Once connected, insure that the router firmware the same version as the router you are replacing.
  5. Click Files and drag the .backup file from your PC into the files window. This will copy the config to the router.
  6. Next, highlight the config backup file and click Restore.
  7. The router will reboot

Note: If the config was originally encrypted you must first set the same admin password and reboot the new router before attempting to Restore.

Important: When restoring a binary backup file to a new Mikrotik Router the backup will change the mac addresses of all interface to match the previous router. This usually is not a problem unless you are using a backup to configure a second router. If you were to connect say ether1 between the old and new router they would both have the same mac-address on ether1 causing them to not communicate. You can use the Reset Mac Address button on each interface to revert back to the factory hardware mac address.

 

I hope you found this MikroTik Tutorial on RouterOS Configuration Management useful. If it helped you out, please leave a comment below and checkout my other MikroTik Tutorials!

Leave a Reply

Your email address will not be published. Required fields are marked *