• MikroTik.com
  • RouterBOARD
  • User Meeting
  • Training
  • User Manual
  • Support
  • Downloads
  • Videos
Register |   * Login | HOME

View unanswered posts | View active topics

Read Backup Configuration  Page 1 of 1
 [ 5 posts ]  Post new topic Reply to topic
  Print view Previous topic | Next topic 
Author Message
cmurrayis
 Post subject: Read Backup Configuration
PostPosted: Wed Jul 14, 2010 6:53 am 
Offline
Frequent Visitor
Frequent Visitor

Joined: Fri May 15, 2009 3:31 am
Posts: 56
Karma: 0
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


Top
 Profile  
 
mrz
 Post subject: Re: Read Backup Configuration
PostPosted: Wed Jul 14, 2010 9:48 am 
Offline
MikroTik Support
MikroTik Support
User avatar

Joined: Wed Feb 07, 2007 12:45 pm
Posts: 3705
Karma: 34

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


Top
 Profile  
 
leonset
 Post subject: Re: Read Backup Configuration
PostPosted: Wed Jul 14, 2010 12:28 pm 
Offline
Member Candidate
Member Candidate

Joined: Wed Apr 01, 2009 8:09 pm
Posts: 117
Karma: 3
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.


Top
 Profile  
 
normis
 Post subject: Re: Read Backup Configuration
PostPosted: Wed Jul 14, 2010 12:30 pm 
Offline
MikroTik Support
MikroTik Support
User avatar

Joined: Fri May 28, 2004 10:04 am
Posts: 16945
Location: Riga, Latvia
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


Top
 Profile  
 
fewi
 Post subject: Re: Read Backup Configuration
PostPosted: Wed Jul 14, 2010 3:35 pm 
Offline
Forum Guru
Forum Guru

Joined: Tue Aug 11, 2009 2:19 am
Posts: 7737
Karma: 327
Code:
/file print detail where name=fileName


That will print file content on the console.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 5 posts ] 

Board index » RouterOS » General

All times are UTC + 2 hours


Who is online

Users browsing this forum: Fran66 and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Karma functions powered by Karma MOD © 2007, 2009 m157y