[rancid] Restore fortinet backups

Hugo Deprez hugo.deprez at gmail.com
Tue Jul 24 16:19:57 UTC 2012


Right, I am currently using 2.3.6

I'll upgrade to the lastest and let you know.

Regards,

On 24 July 2012 18:10, heasley <heas at shrubbery.net> wrote:
> Tue, Jul 24, 2012 at 05:40:21PM +0200, Hugo Deprez:
>> Yes I am running fortigate os 4
>>
>> On Rancid the header is like :
>> !RANCID-CONTENT-TYPE: fortigate
>>
>> !Version: Fortigate-300A v4.0,build0513,120130 (MR3 Patch 5)
>> !Serial-Number: FG300A*********
>> !BIOS version: 03006001
>> !Log hard disk: Available
>> !Hostname: hostname
>> !Operation Mode: NAT
>> !Current virtual domain: root
>> !Max number of virtual domains: 10
>> !Virtual domains status: 1 in NAT mode, 0 in TP mode
>> !Virtual domain configuration: disable
>> !FIPS-CC mode: disable
>> !Current HA mode: standalone
>> !Distribution: International
>> !Branch point: 513
>> !Release Version Information: MR3 Patch 5
>> !System time: Mon Jul 23 07:00:25 2012
>>
>> By the way System time in the header is causing a new revision each
>> time the fortigate is backup by rancid.
>
> rancid 2.3.7 should have the filter for that.
>
>>
>> On 24 July 2012 15:56, Johan Ryberg <johan at securit.se> wrote:
>> > Do you have that header at all from the backup from rancid?
>> >
>> > -- Johan
>> >
>> > On Jul 24, 2012 3:35 PM, "Hugo Deprez" <hugo.deprez at gmail.com> wrote:
>> >>
>> >> 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-key
>> >> >
>> >> > 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
>> _______________________________________________
>> 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