FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Anthony_E
Community Manager
Community Manager
Article Id 191216

Description


This article describes how to take a backup from the CLI using Secure FTP (SFTP) protocol.

In all FortiOS versions, the SFTP protocol can be used for taking the backup.

 

Scope

 

FortiOS.

 

Solution

 

To create a backup using the SFTP protocol from the CLI.

 

execute backup config 

 

flash                 <----- Backup config file to flash.

ftp                    <----- Backup config file to FTP server.

management-station    <----- Backup config file to management station.
sftp                  <----- Backup config file to SFTP server.
tftp                  <----- Backup config file to TFTP server.
usb                   <----- Backup config file to USB disk.
usb-mode              <----- Backup config file for USB mode.
 
execute backup config sftp <path/filename> <sftp_IP:port> <username> <password>
 
Related documents:

FortiGate / FortiOS v7.6.3 Administration Guide / Configuration backups and reset

FortiGate / FortiOS v7.4.8 Administration Guide / Configuration backups and reset

FortiGate / FortiOS v7.6.3 CLI Reference / execute backup

FortiGate / FortiOS v7.4.8 CLI Reference / execute backup