Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Charl_Schippers
New Contributor

Backup config file FTP

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.

1 Solution
emnoc
Esteemed Contributor III

You can do backup via many methods

 

powershell script

bash script

API

ansible

expect script

 

 

Ken Felix

PCNSE 

NSE 

StrongSwan  

View solution in original post

PCNSE NSE StrongSwan
2 REPLIES 2
Kangming
Staff
Staff

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

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

 

Thanks

Kangming

emnoc
Esteemed Contributor III

You can do backup via many methods

 

powershell script

bash script

API

ansible

expect script

 

 

Ken Felix

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors