<html><head></head><body><div class="ydp206da6d2yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
<div dir="ltr" data-setdir="false">Dear All,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Btw appreciate and thanks for the reply from Heasley and UGO </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">As I mentioned below I am trying to backup my fortigate 1000D ( sorry for the typo mistake in my earlier email as 100D) </div><div dir="ltr" data-setdir="false">so to test before I edit the router.db and .cloginrc file i ran the below</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>/usr/local/rancid/bin/fnlogin -t 90 -c "get system status" 172.16.xx.xx i see and does not connect</span><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false">172.16.xx.xx</div><div>spawn telnet -K 172.16.xx.xx</div><div>Trying 172.16.xx.xx...</div></div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Do I need to add the below commands in my .clogin.rc file like the same way i do cisco routers n switches</div><div dir="ltr" data-setdir="false">I do appreciate if can help me with syntax in my clogin.rc file </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks and Regards</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">simon</div><div dir="ltr" data-setdir="false"><br></div><div><br></div>
</div><div id="ydp83d29d3cyahoo_quoted_9096235669" class="ydp83d29d3cyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, November 30, 2021, 09:45:10 PM GMT+3, heasley <heas@shrubbery.net> wrote:
</div>
<div><br></div>
<div><br></div>
<div>Tue, Nov 30, 2021 at 06:16:58PM +0000, simon ben:<div class="ydp83d29d3cyqt1658711425" id="ydp83d29d3cyqtfd30829"><br clear="none">> Dear All,<br clear="none">> I am running Rancid in production environment and backing up Cisco Routers and Switches and its working greatPlan to backup FortygateI have 2 fortgates in active/active HA in our production data center<br clear="none">> Can I go with the same steps as I do when I add another cisco switch or router or anything needs to be done either on rancid server side or the Fortygate sideAppreciate your kind advice.<br clear="none">> Since this fortygate is in Production just want to be more cautious</div><br clear="none"><br clear="none">The device type used in your router.db be must be one of the following,<br clear="none">assuming you have a recent version of rancid:<br clear="none"><br clear="none"># Fortinet Fortigate firewall<br clear="none"># Normal or FULL (with defaults) configuration<br clear="none">fortigate;script;rancid -t fortigate<br clear="none">fortigate;login;fnlogin<br clear="none">fortigate;timeout;90<br clear="none">fortigate;module;fortigate<br clear="none">fortigate;inloop;fortigate::inloop<br clear="none">fortigate;command;fortigate::GetSystem;get system status<br clear="none">fortigate;command;fortigate::GetConf;show<br clear="none">#<br clear="none">fortigate-full;script;rancid -t fortigate-full<br clear="none">fortigate-full;login;fnlogin<br clear="none">fortigate-full;timeout;90<br clear="none">fortigate-full;module;fortigate<br clear="none">fortigate-full;inloop;fortigate::inloop<br clear="none">fortigate-full;command;fortigate::GetSystem;get system status<br clear="none">fortigate-full;command;fortigate::GetConf;show full-configuration<br clear="none"><br clear="none">the user that rancid logs-in as on the fortigate must have the permission<br clear="none">to run the commands above.<div class="ydp83d29d3cyqt1658711425" id="ydp83d29d3cyqtfd28841"><br clear="none"></div></div>
</div>
</div></body></html>