Read Backup Configuration
RouterOS general discussion

5 posts   •   Page 1 of 1
cmurrayis
Frequent Visitor
Frequent Visitor
 
Posts: 57
Joined: Fri May 15, 2009 4:31 am

Read Backup Configuration

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

Hi,

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.

Cheers

Cameron

User avatar
mrz
MikroTik Support
MikroTik Support
 
Posts: 4090
Joined: Wed Feb 07, 2007 1:45 pm
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.

leonset
Member Candidate
Member Candidate
 
Posts: 219
Joined: Wed Apr 01, 2009 9:09 pm

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.

Regards,
Victor.

User avatar
normis
MikroTik Support
MikroTik Support
 
Posts: 19335
Joined: Fri May 28, 2004 11:04 am
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

fewi
Forum Guru
Forum Guru
 
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

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.

5 posts   •   Page 1 of 1

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], reinerotto and 34 guests

It is currently Sun Dec 21, 2014 6:49 pm