Community discussions

MikroTik App
 
cmurrayis
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Fri May 15, 2009 4:31 am

Read Backup Configuration

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: 7185
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

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.
 
leonset
Member Candidate
Member Candidate
Posts: 256
Joined: Wed Apr 01, 2009 9:09 pm

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.

Regards,
Victor.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

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.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

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: No registered users and 16 guests