Learn how to backup and restore Mikrotik Router Configuration using WinBox and the Command Line Interface.
Backing up and restoring your Mikrotik router configuration is a crucial task for any network administrator. With the right tools, you can easily make sure that your network is running optimally and securely. In this guide, we will show you how to back up and restore your Mikrotik router configuration using WinBox and the Command Line Interface (CLI). We will also discuss the importance of backing up your router settings and discuss some best practices when it comes to setting up backups.
Always remember that keeping a backup of your network configuration is important and very useful in disaster recovery situations. The RouterOS backup feature makes it possible to save your current device’s configuration and can be restored on the same device or a different device with the same model. This tutorial aims to provide a guide on how to backup and restore the MIKROTIK router configuration using the WINBOX and COMMAND LINE INTERFACE
Requirements
In order to complete this tutorial successfully the following items are required. Please ensure to have these items available before taking implimentation action on this tutorial :
1) 1 x Mikrotik Router
2) 1 x Desktop or laptop computer with Windows or MacOS installed
3) 1 Mikrotik winbox utility (click HERE to download WINBOX).
Overview
1) Open Winbox and log into the router using your admin credentials
2) What is a Mikrotik Router and why should you back up its configuration?
3) Create a RouterOS backup using WinBox
4) Restore a RouterOS backup using WinBox
5) Create a RouterOS backup from the command line interface.
6) Restore a RouterOS backup from the command line interface.
What is a Mikrotik Router and Why Should You Back Up Its Configuration?
STEP 1: Create a RouterOS Backup using WinBox.

3) Next, click on the “BACKUP” button and the “BACKUP” popup window will appear. Enter “MYFIRSTBACKUP” in the NAME field to give your backup a name, you can use any other name you would like. If you would like to password protect your backup add a password in the PASSWORD field. You can also encypt your backup using aes-sha256 or rc4 encryption.
If you do not want to password protect and encrypt your backup leave the PASSWORD and ENCRYPTION fields empty.
Press the BACKUP btton to proceed.

STEP 2: Restore a RouterOS backup using WinBox.
The process of restoring a Mikrotik RouterOS backup is fairly simple. From the WinBox left menu, click Files and click Upload. Browse to the folder where the Mikrotik backup file is located and click Upload

On the File List, click on the newly uploaded backup file and click Restore. On the file section popup window, click Restore and a confirmation window will be displayed. You will see the message: Do you want to restore configuration and reboot?’. Click Yes to proceed. The Mikrotik Router will reboot, log back into the Router and you will see that RouterOS has been restored.

The Benefits of Using the Command Line Interface for Backup & Restore
Step 3: Creating a backup from the command line interface
5) You can also create a backup of the current Mikrotik configuration from a command line interface. To do this, use an SSH client such as Putty or the macOS / Linux terminal app to open an SSH session to the Mikrotik router. Run the commands below to create a backup:
When you execute the command you will see the response message:
Saving system configuration
Configuration backup saved

Step 4: Restoring a backup from the command line interface
The Mikrotik command line interface also allows you to restore a system backup. There is a simple built-in command that you can use to perform a backup restoration. Assuming that the backup file is located on the desktop of the device you are using to connect to the Mikrotik Router, run the command below to copy the backup to the Mikrotik Router using the scp command:

Conclusion
In this tutorial, you have learnt how to backup and restore Mikrotik Router Configuration using WinBox and the Command Line Interface. We hope that this tutorial has been informative and would like to thank you for reading it. Please visit our home page for more tutorials and guides
