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.

 

Text Config Restore .rsc Text File

WARNING: These steps will erase any existing configuration setting on the router.

  1. Edit the .rsc file and add :delay 15s at the top of the file
  2. Copy the file to the router’s flash folder
  3. In Winbox choose System | Reset Configuration
  4. Check the box “No Default Configuration” and choose the config file from the “Run After Reset” dropdown.
  5. Click the Reset Configuration button

For the best way to restore MikroTik Configs use my perfectrestore script.

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!

NetScout LinkRunner G2

LinkRunner G2 is the ultimate network cable test tool


CAT5 Cable Tester, Measure Cable Length,
PoE Voltage, Network Connectivity, Switch Port ID
Optional Wireless & Fiber Optics Modules
Check Price on Amazon

pictory

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Ads Blocker Image Powered by Code Help Pro

🙏🙏A Humble Request to Disable AdBlock 🙏🙏

You can close this message & continue reading but...
❤️❤️❤️ Please consider visiting one of my sponsors first ❤️❤️❤️

DigitalOcean 🚀

Sign up and get a $200, 60-day credit to try DO.
Spend $25 after your credit expires and I will also get $25 in credit!
DigitalOcean Referral Badge

Pictory 🤖

Create amazing videos using Pictorys AI powered software.
Its FREE to create your first 3 video projects
pictory


Hi Reader, I noticed that you are using an ad blocker while visiting my website. While I completely understand that excessive ads can hinder your browsing experience, ad revenue helps pay for the cost associated with operating this website.

jcutrer.com is a labor of love, created with the primary aim to provide you with quality content, free of cost. It’s a space where I share information, ideas, and insights that I hope have a meaningful impact. However, maintaining and updating this platform incurs substantial costs.

Sincerely,
Jonathan