Skip to main content
razcohen
New Member
May 13, 2018
Solved

Automatic configuration backup

  • May 13, 2018
  • 4 replies
  • 12103 views

hi, I would like to know if there is a way for my fortigate 800c to backup the config automatically every time I apply changes or maybe every period of time? 

Thank you, 

Raz.

    Best answer by Nicholas_Doropoulos

    Yes, there is a way. 

     

    Have a look at the kb article below:

     

    http://kb.fortinet.com/kb/documentLink.do?externalID=FD39818

     

     

    4 replies

    Nicholas_Doropoulos
    New Member
    May 13, 2018

    Yes, there is a way. 

     

    Have a look at the kb article below:

     

    http://kb.fortinet.com/kb/documentLink.do?externalID=FD39818

     

     

    razcohen
    razcohenAuthor
    New Member
    May 13, 2018

    is there a way to do it in scp?

    Iescudero
    New Member
    May 14, 2018

    Hi there!

    I posted it: https://forum.fortinet.com/tm.aspx?m=147363

     

    1) Create a user with read only privilege in the Fortigate. ie: user backup, password: 1234 2) In a File Share (ie: D:\backup\), put PSCP.EXE  and create a BAT file with this: set DESTINATION=D:\backup set FECHA=%date:~6,4%%date:~3,2%%date:~0,2% set LOG=D:\backup\backup.log echo Y|pscp -P 22 -pw 1234 backup@192.168.0.1:sys_config %DESTINATION%FORTIGATE%FECHA%.conf >> %LOG%   192.168.0.1 is the IP of your Fortigate. In the BAT file the user and password is stored in clear text, so that's why is necessary a read only user, but if you don't mind, you can use the admin user.   3) Create a schedule task in windows to execute the bat.   In addition: Just check the SCP is enabled in your Fortigate: config system global set admin-scp enable end and of course, you have to download pscp: http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html   Hope it helps!

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.