Read Backup Configuration
RouterOS general discussion

Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri May 15, 2009 4:31 am
Reputation: 1
First RouterOS version: 3.23

Read Backup Configuration

by cmurrayis » Wed Jul 14, 2010 7:53 am


I have a remote AP that played up this morning and lost one of it's key IP addresses. I have a backup conf from the other week but cannto afford any downtime to the customers running on the AP, Is there a way I can read the script from the Backup file to Find the Ip address and which Interface it was applied to?

I did the /export backupfilename and have the script file, but not sure how to read the file as my only access to the router is MAC telnet and winbox won't connect to it :S

Hope somsone has a quick answer for me.



User avatar
MikroTik Support
MikroTik Support
Posts: 4581
Joined: Wed Feb 07, 2007 1:45 pm
Reputation: 40
First RouterOS version: 2.9.24
Location: Latvia

Re: Read Backup Configuration

by mrz » Wed Jul 14, 2010 10:48 am

Configuration exported with "/export" command is simple text file containing ros commands.
Just open it with any text editor.

Member Candidate
Member Candidate
Posts: 241
Joined: Wed Apr 01, 2009 9:09 pm
Reputation: 0

Re: Read Backup Configuration

by leonset » Wed Jul 14, 2010 1:28 pm

If I understand correctly, the problem is that the export file is on the AP and can't get the file to a computer to read it...

I don't know if you can "cat [filename]" from within RouterOS telnet... Probably the best solution would be to just import the old export if haven't done many changes to it's configuration.


User avatar
MikroTik Support
MikroTik Support
Posts: 20980
Joined: Fri May 28, 2004 11:04 am
Reputation: 178
First RouterOS version: 2.3.18
Location: Riga, Latvia

Re: Read Backup Configuration

by normis » Wed Jul 14, 2010 1:30 pm

you can download it only with FTP or Winbox, but you can try another approach - type "/export" without the file parameter. This will print the export on the telnet screen and you will be able to copy it with your mouse.
No answer to your question? How to write posts

Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am
Reputation: 18
First RouterOS version: 3.28

Re: Read Backup Configuration

by fewi » Wed Jul 14, 2010 4:35 pm

Code: Select all

/file print detail where name=fileName

That will print file content on the console.

Who is online

Users browsing this forum: Bing [Bot], CagoBHuK, TonyJr, Yahoo [Bot] and 11 guests

It is currently Mon May 30, 2016 7:23 pm