Backup and Restore

Document revision 19-Nov-2002
This document applies to MikroTik RouterOS v2.6

The configuration backup can be used for backing up MikroTik RouterOS configuration to a binary file, which can be stored on the router or downloaded from it using ftp. The configuration restore can be used for restoring the router's configuration from a backup file. For exporting configuration or part of it to a text (script) file and importing it, please refer to the configuration export and import section of the MikroTik RouterOS Manual.

Topics covered in this manual:

Installation

The Backup and Restore features are included in the 'system' package. No installation is needed for this feature

Hardware Resource Usage

There is no significant resource usage.

Backup and Restore Description

Backup and Restore feature can be found under system backup submenu. This function is used to store the entire router configuration in a backup file. The file is stored in the file folder under [admin@MikroTik] file>. You can download this file via ftp to keep it as a backup for your configuration.

To restore the system configuration, for example, after a system reset, you can upload that file via ftp and then load that backup file, using load command in system backup submenu.

Backup and Restore Examples

To make a backup file use the following command:

[admin@MikroTik] system backup> save name=test
Configuration backup saved
[admin@MikroTik] system backup>

To see the files stored on the router use the following command:

[admin@MikroTik] > file print
  # NAME                           TYPE         SIZE       CREATION-TIME
  0 MikroTik-12082002-2107.backup  backup       12567      aug/12/2002 21:07:50
[admin@MikroTik] >

To load the saved backup file use the following command:

[admin@MikroTik] system backup> load name=test
Restore and reboot? [y/N]:

The restored configuration is loaded and the router is rebooted.


© Copyright 1999-2002, MikroTik