Summary:
Creating a backup of your Mikrotik router ensures you can easily restore configurations in case of failure, reset, or migration. Mikrotik offers both binary backup files and export scripts.
Method 1: Back Up Using WinBox (.backup file)
To create a backup:
- Open WinBox and log in:
- Username:
admin - Password: your configured
password
- Username:
- Go to Files from the left panel
- Click Backup at the top
- Set a file name (e.g.,
config.backup) and optionally a password - Click Backup
A new .backup file will appear in the Files window. Right-click and choose Download to save it to your PC.
IMPORTANT: .backup files are device-specific and can’t be restored on other models.
To restore a backup:
- Go to Files, and upload your
.backupfile (drag and drop or click Upload) - Select the file and click Restore
- The router will reboot and restore the configuration
Method 2: Export Configuration to Script (.rsc file)
To export configuration as a readable script:
- Go to New Terminal in WinBox
- Type:
- Go to Files, and download
config.rscto your PC
This file can be edited, reused, or restored on similar models.
To import/export via CLI:
- Export:
/export file=config
- Import:
/import file-name=config.rsc
TIP: Use this method to migrate configs between compatible Mikrotik devices.
Best Practices:
- Create both
.backupand.rscfiles for full redundancy - Always back up before upgrades or major changes
- Store files securely and label them clearly with date/model
- For sensitive deployments, encrypt the
.backupfile with a strong password