Fortigate - Backup

Automatically backup to Forticloud:

config system central-management
set mode backup
set type fortiguard

config system auto-script
edit "backup"
set interval 86400
set repeat 0
set start auto
set script "execute backup config management-station AUTO_BACKUP"

Ensure USB flash device is connected and working:

get hardware status
execute usb-disk list

Backup config as backupoffirewall to usb device:

execute backup config usb backupoffirewall

Restore configuration from file on USB called backupoffirewall:

execute restore config usb backupoffirewall