Technical Tip: How to take backup from CLI using secure FTP (SFTP) protocol
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.
FortiGate / FortiOS v7.6.3 Administration Guide / Configuration backups and reset
FortiGate / FortiOS v7.4.8 Administration Guide / Configuration backups and reset