Skip to main content
Charl_Schippers
New Member
June 23, 2021
Solved

Backup config file FTP

  • June 23, 2021
  • 1 reply
  • 4479 views

Hi,

 

Is it possible to execute the backup automatically with the variable "hostname" as backupname.cfg ?  I need to backup a lot off Fortigate to the same destination, so i need a different name for the backup file.  I can do this manually, but i want to create a cli script to send to to all Fortigates.

    Best answer by emnoc

    You can do backup via many methods

     

    powershell script

    bash script

    API

    ansible

    expect script

     

     

    Ken Felix

    1 reply

    Kangming
    Staff
    Staff
    September 3, 2021

    Maybe you can use SCP to backup configuration, here is the link:

    https://forum.fortinet.com/tm.aspx?m=195023#198631

     

    emnoc
    emnocAnswer
    New Member
    September 3, 2021

    You can do backup via many methods

     

    powershell script

    bash script

    API

    ansible

    expect script

     

     

    Ken Felix