[rancid] Restore fortinet backups

Boll, Michael Michael.Boll at SSRC.myflorida.com
Tue Jul 24 13:48:28 UTC 2012


I noticed this on the newer versions of the firmware too.  The show
full-config command no longer displays the header info you need.  It
appears Fortinet made this change with release 4 of the firmware.  If
anyone knows a fix for this, please let me know.

Thanks,

Mike

-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Hugo Deprez
Sent: Tuesday, July 24, 2012 9:36 AM
To: Tyler J. Wagner
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Restore fortinet backups

Hello,

I found something :

the original conf file from rancid is not working, but when I added the
following header in the config File it does work :

#config-version=FG300A-4.00-FW-build513-120130:opmode=0:vdom=0:user=USER
#conf_file_ver=8207861108533980666
#buildno=0513
#global_vdom=1

This header is coming from an export of the config from the fortigate
web interface.

Any idea ?

Regards,

On 24 July 2012 12:47, Tyler J. Wagner <tyler at tolaris.com> wrote:
> Try using the USB restore method.
>
> http://www.scribd.com/doc/57493012/61/Backup-and-Restore-from-a-USB-ke
> y
>
> Regards,
> Tyler
>
> On 2012-07-24 11:27, Hugo Deprez wrote:
>> Hello,
>>
>> I am using to backup some fortinet firewall (300A). Everything seems
going good.
>> Now I would like to restore a backup from rancid.
>>
>> I used the shortcut on the web interface in order to restore the 
>> config file with the content of the rancid backups.
>> The unit is still saying "error of configuration file".
>>
>> Does anyone already restore a backup for a fortigate unit ?
>>
>> Regards,
>>
>> Hugo
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>
>
> --
> Before emailing me, please watch "Stop Forwarding That Crap To Me":
> http://www.youtube.com/watch?v=KCSA7kKNu2Y
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list