Backing Up RouterOS and Restoring from Backup on Mikrotik router

How to Create a Backup of the Current RouterOS Configuration
- Navigate to the
Filessection - Open the save window by clicking on the
Backupbutton- Name: Choose the name for the backup file, typically "RouterIdentifier_date"
- Don't Encrypt: Choose whether you want the file to be encrypted or not
- Password: Password for decryption
- Encryption: Encryption method
- After clicking the
Backupbutton in theFilessection, the backup file will appear. - Download your created backup file by clicking on the
Downloadbutton.
Binary Backup vs. Text Export
- Binary backup (
.backup) contains the complete state including users and passwords. It is meant for restoring on the same device (or the same model); its content cannot be read or edited. - Text export (
.rsc) is a readable list of commands. It is useful for documentation, comparing changes and moving the configuration to another router. RouterOS 7 leaves sensitive data (passwords, keys) out of the export unless you addshow-sensitive.
/system backup save name=router-backup password=StrongPassword
/export file=router-exportAutomatic Backup
Set up a regular backup with the scheduler:
/system scheduler add name=weekly-backup interval=7d on-event="/system backup save name=auto-backup password=StrongPassword; /export file=auto-export"The files stay in the router's storage – if the device fails, you lose them. Download them off the router regularly (manually via Files, or automatically, e.g. by sending them by e-mail via /tool e-mail).
How to Restore RouterOS Settings from a Backup
- Navigate to the
Filessection - Use the
Choose Filebutton from theUploadmenu to select and upload the backup file. - Click on your uploaded backup file.
- In the file window, click on the
Restorebutton. - Confirm the restoration
- In the file window, click on the
Need a secure network setup?
We design, secure and document networks and servers.