Community discussions

Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Fri May 15, 2009 4:31 am
Reputation: 1

Read Backup Configuration

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: 5024
Joined: Wed Feb 07, 2007 1:45 pm
Reputation: 46
Location: Latvia

Re: Read Backup Configuration

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: 256
Joined: Wed Apr 01, 2009 9:09 pm
Reputation: 1

Re: Read Backup Configuration

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: 21766
Joined: Fri May 28, 2004 11:04 am
Reputation: 192
Location: Riga, Latvia

Re: Read Backup Configuration

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

Re: Read Backup Configuration

Wed Jul 14, 2010 4:35 pm

/file print detail where name=fileName

That will print file content on the console.

Who is online

Users browsing this forum: mus96hs and 15 guests