Backing up the system
Fortinet recommends that you back up your FortiAnalyzer configuration to your management computer on a regular basis to ensure that, should the system fail, you can quickly get the system back to its original state with minimal affect to the network. You should also back up your configuration after making any changes to the FortiAnalyzer configuration or settings that affect connected devices.
Fortinet recommends backing up all configuration settings from your FortiAnalyzer unit before upgrading the FortiAnalyzer firmware. See Updating the system firmware.
An MD5 checksum is automatically generated in the event log when backing up the configuration. You can verify a backup by comparing the checksum in the log entry with that of the backup file.
To back up the FortiAnalyzer configuration:
- Go to System Settings > Dashboard.
- In the System Information widget, click the backup button next to System Configuration. The Backup System dialog box opens
- If you want to encrypt the backup file, select the Encryption box, then type and confirm the password you want to use. The password can be a maximum of 63 characters.
- Select OK and save the backup file on your management computer.
Configuring automatic backups
You can configure FortiAnalyzer to automatically backup your configuration on a set schedule. This feature can only be configured through the CLI.
To schedule automatic backup of the FortiAnalyzer configuration:
- In the FortiAnalyzer CLI, enter the following command:
config system backup all-settings
- Configure the backup settings:
set status {enable | disable}
set server {<ipv4_address>|<fqdn_str>}
set user <username>
set directory <string>
set week_days {monday tuesday wednesday thursday friday saturday sunday}
set time <hh:mm:ss>
set protocol {ftp | scp | sftp}
set passwd <passwd>
set crptpasswd <passwd>
end
For example, the following configuration uses the FTP protocol to backup the configuration to server 172.20.120.11
in the /usr/local/backup
directory every Monday at 1:00pm.
config system backup all-settings
set status enable
set server 172.20.120.11
set user admin
set directory /usr/local/backup
set week_days monday
set time 13:00:00
set protocol ftp
end
For more information, see the FortiAnalyzer CLI Reference Guide on the Fortinet Documents Library.
To find the MD5 checksum generated with the backup:
- In the GUI, go to System Settings > Event Log.
- In the Changes column for the event log, note the MD5 checksum.