Backing up logs
It is recommended to back up logs before an upgrade.
execute backup logs <device name(s)> {ftp | scp | sftp} <ip> <username> <passwd> <directory> [vdlist]
It is also recommended to send logs to a temporary FortiAnalyzer or syslog server during the upgrade.