Page 1 of 1

Read Backup Configuration

Posted: Wed Jul 14, 2010 7:53 am
by cmurrayis
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

Re: Read Backup Configuration

Posted: Wed Jul 14, 2010 10:48 am
by mrz
Configuration exported with "/export" command is simple text file containing ros commands.
Just open it with any text editor.

Re: Read Backup Configuration

Posted: Wed Jul 14, 2010 1:28 pm
by leonset
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.

Re: Read Backup Configuration

Posted: Wed Jul 14, 2010 1:30 pm
by normis
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.

Re: Read Backup Configuration

Posted: Wed Jul 14, 2010 4:35 pm
by fewi
/file print detail where name=fileName
That will print file content on the console.