Fortigate - Backup

Automatically backup to Forticloud:

config system central-management
set mode backup
set type fortiguard
end

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

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