Hot!Automatic configuration backup

Author
razcohen
New Member
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2018/05/13 01:08:20
  • Status: offline
2018/05/13 01:18:21 (permalink)
0

Automatic configuration backup

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.
#1

4 Replies Related Threads

    Nicholas Doropoulos
    Silver Member
    • Total Posts : 70
    • Scores: 2
    • Reward points: 0
    • Joined: 2018/05/03 13:49:11
    • Status: offline
    Re: Automatic configuration backup 2018/05/13 03:12:49 (permalink)
    0
    Yes, there is a way. 
     
    Have a look at the kb article below:
     
    http://kb.fortinet.com/kb/documentLink.do?externalID=FD39818
     
     
    #2
    razcohen
    New Member
    • Total Posts : 2
    • Scores: 0
    • Reward points: 0
    • Joined: 2018/05/13 01:08:20
    • Status: offline
    Re: Automatic configuration backup 2018/05/13 03:16:35 (permalink)
    0
    is there a way to do it in scp?
    #3
    Iescudero
    Silver Member
    • Total Posts : 103
    • Scores: 8
    • Reward points: 0
    • Joined: 2015/01/21 13:34:23
    • Location: Buenos Aires, Argentina
    • Status: offline
    Re: Automatic configuration backup 2018/05/14 14:17:41 (permalink)
    0
    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!
    #4
    Elthon Abreu
    Bronze Member
    • Total Posts : 29
    • Scores: 0
    • Reward points: 0
    • Joined: 2014/04/29 11:37:55
    • Location: Brazil
    • Status: offline
    Re: Automatic configuration backup 2018/06/11 09:31:14 (permalink)
    0
    Hello,
     
    I hope it helps:
     
    https://forum.fortinet.com/FindPost/158374
     
    BR,

    Elthon Abreu
    FCNSA v5
    #5
    Jump to:
    © 2018 APG vNext Commercial Version 5.5