• Contact
  • About Me
  • Privacy Policy
DefenceDev
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
No Result
View All Result
DefenceDev
No Result
View All Result
ADVERTISEMENT
Home Video Tutorials MikroTik Videos

MikroTik: How to Create a Backup of Mikrotik Configuration

neo by neo
May 27, 2025
in MikroTik Videos
0
MikroTik: How to Create a Backup of Mikrotik Configuration
0
SHARES
64
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Introduction

Backing up your Mikrotik router’s configuration is essential for disaster recovery, migration, or just ensuring that changes to your network settings can be undone if something goes wrong. In this article, we will guide you through different methods for backup and restoring the configuration of your Mikrotik device using both the RouterOS web interface and command line.

Why Backup Your Mikrotik Configuration?

Regular backups help you avoid losing valuable settings after a reset, accidental misconfiguration, or hardware failure. With a proper backup, you can quickly restore your router to its operational state without reconfiguring everything manually.

IMPORTANT – Certificates

Certificates are not included in the backup created using the /system backup save command!

ADVERTISEMENT

To back up certificates and other custom files, you need to export them separately. You can use the following command to export certificates:

/certificate export-certificate [certificate-name] file-name=my-cert

If you need to restore certificates later, you’ll have to upload and import them manually:

/certificate import file-name=my-cert

Video Tutorial How to Backup Mikrotik Configuration

Method 1: Backup Using WinBox or Web Interface

More information about Winbox find on the link.

  1. Login to Mikrotik Router
    Open WinBox or access the Mikrotik router via a browser. Login using your admin credentials.
  2. Navigate to Files Menu
    Once logged in, locate the “Files” option on the left sidebar menu.
  3. Create Backup
    In the Files window, click on the “Backup” button. A dialog will appear allowing you to name the backup file. You can choose whether to encrypt the backup file with a password for added security. Click “OK” to proceed.
  4. Download the Backup File
    After the backup is created, you will see the new file listed in the Files window. Right-click the file and select “Download” to save the backup file to your local machine.
  5. Store the Backup
    Save the file to a secure location where you can retrieve it if needed.
Create a backup
Create a backup

Method 2: Backup Using Command Line (CLI)

For users comfortable with the command line, you can quickly create a backup by executing commands via SSH or the Mikrotik terminal.

ADVERTISEMENT
  1. Login via SSH or Terminal
    Access the router’s CLI via SSH or using the built-in terminal in the RouterOS interface.
  2. Create Backup
    Run the following command to create a backup:
    • /system backup save name=my-backup
      • This will save the backup as a file named my-backup.
  3. Download the Backup
    Once the backup is complete, download it using an SCP (Secure Copy) tool or by navigating to the web interface’s “Files” section as described earlier.

Automating Backups with Scripts

To automate backups, you can create a script and schedule it to run at regular intervals.

ADVERTISEMENT
  1. Create a Script
    Open a new terminal session and create a script:
    • /system script add name=backup-script source="/system backup save name=auto-backup"
      • Previous backup will be overwritten!
  2. Schedule the Backup
    • /system scheduler add name=backup-schedule interval=1w on-event=backup-script
      • This will run the script every week to create a backup file. Previous backup will be overwritten!

Restoring the Backup

In case you need to restore the configuration from the backup, follow these steps:

  1. Access the Files Menu or CLI
    In WinBox or Web Interface, go to the Files section and upload the backup file. Alternatively, using the CLI, upload the file via SCP.
  2. Restore the Configuration
    Run the restore command:
    • /system backup load name=my-backup
      • After restoring, the router will reboot with the restored settings.

About The Author

neo

See author's posts

Tags: mikrotik
ADVERTISEMENT
Previous Post

List of Installed Packages on Linux

Next Post

MikroTik: Export Configuration in Text File

neo

neo

Next Post
MikroTik: Export Configuration in Text File

MikroTik: Export Configuration in Text File

Follow Us

  • Trending
  • Comments
  • Latest
MikroTik: Export Configuration in Text File

MikroTik: Export Configuration in Text File

Fortinet FortiGate: Static Route Configuration via GUI and CLI

Fortinet FortiGate: Static Route Configuration via GUI and CLI

Fortinet FortiGate Upgrade Path Tool

Fortinet FortiGate Upgrade Path Tool

Immich: Installation on Ubuntu 22.04

Immich: Installation on Ubuntu 22.04

NextCloud: Port Forwarding - Essential Ports for Smooth Functionality

NextCloud: Port Forwarding – Essential Ports for Smooth Functionality and Remote Access

Organizing and Managing Photos with Immich: Features I Use

Organizing and Managing Photos with Immich: Features I Use

Install Ubuntu 22.04 on Oracle VM Virtual Box

Install Ubuntu 22.04 on Oracle VM Virtual Box

Linux Directories: cd (Change Directory), pwd (Print Working Directory), mkdir (Make Directory)

Linux Directories: cd (Change Directory), pwd (Print Working Directory), mkdir (Make Directory)

Install Nginx Proxy Manager on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Install Nginx Proxy Manager on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Install Docker on Raspberry Pi 4 with Ubuntu 22.04

Install Docker on Raspberry Pi 4 with Ubuntu 22.04

MikroTik: Check Your Wireless Password

MikroTik: Check Your Wireless Password

Install SoftEther VPN Server on Ubuntu 24.04

Install SoftEther VPN Server on Ubuntu 24.04

Recent News

Install Nginx Proxy Manager on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Install Nginx Proxy Manager on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Install Docker on Raspberry Pi 4 with Ubuntu 22.04

Install Docker on Raspberry Pi 4 with Ubuntu 22.04

MikroTik: Check Your Wireless Password

MikroTik: Check Your Wireless Password

Install SoftEther VPN Server on Ubuntu 24.04

Install SoftEther VPN Server on Ubuntu 24.04

Timeshift on Linux: How to Create and Restore System Snapshots

Timeshift on Linux: How to Create and Restore System Snapshots

ADVERTISEMENT

DefenceDev Tutorials

defencedev Logo

Whether you’re just starting or looking to expand your skills, I hope you find useful information and engaging discussions here. Let me take you through my journey and the goals behind this space!

Follow Us

Browse by Category

  • Blog
  • Cloud
    • Private
  • Linux Tutorials
    • Bash Scripting Tutorials
    • Commands
    • Networking
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Solutions
    • Docker
  • Video Tutorials
    • MikroTik Videos

Recent News

Install Nginx Proxy Manager on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Install Nginx Proxy Manager on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Install Docker on Raspberry Pi 4 with Ubuntu 22.04

Install Docker on Raspberry Pi 4 with Ubuntu 22.04

  • Site Map
  • Privacy Policy
  • Facebook Page
  • Disclaimer
  • Contact
  • About Me

© 2025 defencedev.com - All rights reserved.

No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos

© 2025 defencedev.com - All rights reserved.