• Contact
  • About Me
  • Privacy Policy
  • Disclaimer
DefenceDev
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools
No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools
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
September 11, 2025
in MikroTik Videos
0
MikroTik: How to Create a Backup of Mikrotik Configuration
0
SHARES
98
VIEWS
Share on FacebookShare on Twitter
Table of Contents
  • Create a Backup of Mikrotik Configuration
  • Why Backup Your Mikrotik Configuration?
    • IMPORTANT – Certificates
  • Video Tutorial How to Backup Mikrotik Configuration
  • Method 1: Backup Using WinBox or Web Interface
  • Method 2: Backup Using Command Line (CLI)
    • Automating Backups with Scripts
  • Restoring the Backup

Create a Backup of Mikrotik Configuration

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!

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.

  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
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 Installed Linux Packages

Next Post

MikroTik: Export Configuration in Text File

neo

neo

Related Posts

MikroTik: Firmware Update with WinBox Application - Manual Approach
MikroTik Videos

MikroTik: Firmware Update with WinBox Application – Manual Approach

MikroTik: Bridge Interface with Multiple Ports
MikroTik Videos

MikroTik: Bridge Interface with Multiple Ports

MikroTik: Reset to Factory Settings with Terminal CLI
MikroTik Videos

MikroTik: Reset to Factory Settings with Terminal CLI

A screenshot of WinBox showing the process of creating 'New DHCP Server'.
MikroTik Videos

MikroTik: Configure DHCP Server and Settings on Interface

Next Post
MikroTik: Export Configuration in Text File

MikroTik: Export Configuration in Text File

Recommended

Solution: Monitoring Disk Usage with Email Alert Using a Bash Script and Crontab on Linux

Solution: Monitoring Disk Usage with Email Alert Using a Bash Script and Crontab on Linux

Self-Hosted Nextcloud Hub 10 on Ubuntu – My Top 5 Apps

Nextcloud: My Top 5 Must-Have Apps

View & Copy Image Metadata Online – Camera & GPS Info

View & Copy Image Metadata Online – Camera & GPS Info

Online WebP to JPG Converter

Online WebP to JPG Converter

Image Metadata Remover – Clean EXIF and GPS Info Securely

Image Metadata Remover – Clean EXIF and GPS Info Online

Categories

  • 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
  • Web Tools
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

Recent News

View & Copy Image Metadata Online – Camera & GPS Info

View & Copy Image Metadata Online – Camera & GPS Info

Online WebP to JPG Converter

Online WebP to JPG Converter

  • 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
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools

© 2025 defencedev.com - All rights reserved.