RouterOS backup feature allows you to save your current device's configuration, which then can be re-applied on the same or a different device (with the same model name/number). This is very useful since it allows you to effortlessly restore device's configurations or to re-apply the same configuration on a backup device. System's backup file also contain the device's MAC addresses, which are also restored when the backup file is loaded.
Saving a backup
/system backup save
|dont-encrypt (yes | no; Default: no)||Disable backup file encryption. Note that since RouterOS v6.43 without a provided password the backup file is unencrypted.|
|encryption (aes-sha256 | rc4; Default: aes-sha256)||Encryption algorithm to use for encrypting the backup file. Note that
|name (string; Default: [identity]-[date]-[time].backup)||File name for the backup file.|
|password (string; Default: )||Password for the encrypted backup file. Note that since RouterOS v6.43 without a provided password the backup file is unencrypted.|
The backup file will be available under
/file menu, which can be downloaded using FTP or using Winbox.
Loading a backup
/system backup load
|name (string; Default: )||File name for the backup file.|
|password (string; Default: )||Password for the encrypted backup file.|
- To save the router's configuration to file test and a password:
[admin@MikroTik] > /system backup save name=test password=<YOUR_PASSWORD> Configuration backup saved [admin@MikroTik] > /system backup
- To see the files stored on the router:
[admin@MikroTik] > /file print # NAME TYPE SIZE CREATION-TIME 0 test.backup backup 12567 sep/08/2018 21:07:50 [admin@MikroTik] >
To load the saved backup file test:
[admin@MikroTik] > /system backup load name=test password: <YOUR_PASSWORD> Restore and reboot? [y/N]: y Restoring system configuration System configuration restored, rebooting now
Since RouterOS v6.44 it is possible to securely store your device's backup file on MikroTik's Cloud servers, read more about this feature in the IP/Cloud page.
[[Category: Manual] [[Category: System]