How to Backup & Restore Configuration In MikroTik Router. Mikrotik is one of the most popular companies in the world. They make networking devices that offer advanced routing, firewalls, and wireless features.
In this article, we will discuss many important topics. And that is how to back up the running configuration from MikroTik Router and how to restore it later.
Why is it very important to back up the MikroTik router configuration?
Do you know Mikrotik Router stores the configuration in the router's memory, and it is vital to back up this configuration regularly. The Configuration includes network settings, IP addresses, VLANS, firewall rules, routing protocols, and more.
In case any of your router's hardware fails or if any configuration is accidentally changed, then a backup file can save you from that problem immediately. Because there are many important systems in a router, there are many customers, if your router's system goes down, then a backup file will be able to restart your system by minimizing your downtime.
How to Backup MikroTik router's configuration?
Mikrotik Router provides 2 ways to backup configuration. The first way is to take a backup file through Winbox GUI and the second way is to take the backup file through Command-Line-Interface (CLI) in Terminal.
Backup through Winbox GUI:
Here we will know how to take configuration backup through Winbox GUI.
1. First open Winbox App and connect your Mikrotik Router.
2. Then Click on Files
and click on the Backup
.
3. When opening the backup window, then type a file name, Password, and encryption type (aes-sha256 or rc4).
4. If you want then you can take the Backup file without Encryption and Password. Just need Filename and Select Don't Encrypt
.
If you don't understand then see the picture below. Step by step is shown in the picture.
Mikrotik export configuration to a text file:
Here we will know how to take configuration backup through Winbox CLI in Terminal. Another thing is that through this command we
Mikrotik configuration can be exported to a text file. The backup file created by this command will be in the router's file system as plain text.
1. First open Winbox App and connect your Mikrotik Router.
2. Then open New Terminal Window.
3. When the Terminal window will open then type export file=technicalafnan
. You can give any name to the file name. Then Click Enter from your keyboard.
If you don't understand then see the picture below. Step by step is shown in the picture.
How to Restore Mikrotik Router's Configuration:
To restore the configuration of the Mikrotik Router, you need to upload the previous backup file to Mikrotik Files.
Restore configuration through Winbox GUI:
Here we will know how to take restore configuration through Winbox GUI.
1. First open Winbox App and connect your MikroTik Router.
2. Then Click on Files
and click on the Upload
.
3. Then upload the backup file or drag the file from the PC and bring it to the Mikorik router's Files Window and release it.
4. Then Select the backup file and click Restore.
5. Then your Mikrotik Router will ask for permission to reboot. After granting permission, the router will be restored.
If you don't understand then see the picture below. Step by step is shown in the picture.
Restore configuration through Winbox CLI In Terminal:
Here we will know how to take restore configuration through CLI in the terminal.
1. First open Winbox App and connect your Mikrotik Router.
2. Then Click the Files
and click on the Upload
.
3. Then upload the backup file or drag the file from the Desktop and bring it to the Mikorik router's Files Window and release it.
4. Then open New Terminal Window.
5. When the Terminal window will opened then type import file=technicalafnan.rsc
.Then Click Enter from your keyboard.
If you don't understand then see the picture below. Step by step is shown in the picture.
Conclusion:
Today we know very easily how to backup the configuration of MikroTik. Backing up and restoring the Mikrotik router's configuration is a crucial task that can save you from significant data loss and downtime.
The data of your router is very important, so I recommend you take a backup of your system regularly. Then suddenly you will be saved from many problems. I hope everyone understands. If anyone doesn't understand then comment. I will try to support everyone.