Fortinet white logo
Fortinet white logo

Backing up configuration files and databases

Backing up configuration files and databases

Back up the FortiAnalyzer configuration file and databases.

It is recommended that you create a system backup file and save this configuration to your local computer. The device configuration file is saved with a .dat extension.

It is also recommended that you verify the integrity of your backup file.

When the database is larger than 2.8 GB, back up the configuration file to an FTP, SFTP, or SCP server using the following CLI command:

execute backup all-settings {ftp | sftp} <ip> <path/filename of server> <username on server> <password> <crptpasswd>

execute backup all-settings scp <ip> <path/filename of server> <SSH certificate> <crptpasswd>

For more information, see the FortiAnalyzer CLI Reference.

To verify the integrity of a backup file:
  1. Go to System Settings > Dashboard.
  2. In the System Information widget, click Backup. The Backup dialog box opens.
  3. In the Encryption line, deselect the checkbox so that the backup is not encrypted.
  4. Click OK and save the backup file on your local computer.
  5. Locate the backup file and change the file extension from .dat to .tgz.
  6. Decompress the backup file and verify that the decompression is successful.

If the decompression fails, then the backup process has likely also failed.

To back up your system configuration:
  1. Go to System Settings > Dashboard.
  2. In the System Information widget, click Backup. The Backup dialog box opens.
  3. If you wish, select the checkbox to encrypt the backup file, and enter a password.
  4. Click OK and save the backup file on your local computer.

If you encrypt the backup file, you must use the same password to restore this backup file.

Backing up configuration files and databases

Backing up configuration files and databases

Back up the FortiAnalyzer configuration file and databases.

It is recommended that you create a system backup file and save this configuration to your local computer. The device configuration file is saved with a .dat extension.

It is also recommended that you verify the integrity of your backup file.

When the database is larger than 2.8 GB, back up the configuration file to an FTP, SFTP, or SCP server using the following CLI command:

execute backup all-settings {ftp | sftp} <ip> <path/filename of server> <username on server> <password> <crptpasswd>

execute backup all-settings scp <ip> <path/filename of server> <SSH certificate> <crptpasswd>

For more information, see the FortiAnalyzer CLI Reference.

To verify the integrity of a backup file:
  1. Go to System Settings > Dashboard.
  2. In the System Information widget, click Backup. The Backup dialog box opens.
  3. In the Encryption line, deselect the checkbox so that the backup is not encrypted.
  4. Click OK and save the backup file on your local computer.
  5. Locate the backup file and change the file extension from .dat to .tgz.
  6. Decompress the backup file and verify that the decompression is successful.

If the decompression fails, then the backup process has likely also failed.

To back up your system configuration:
  1. Go to System Settings > Dashboard.
  2. In the System Information widget, click Backup. The Backup dialog box opens.
  3. If you wish, select the checkbox to encrypt the backup file, and enter a password.
  4. Click OK and save the backup file on your local computer.

If you encrypt the backup file, you must use the same password to restore this backup file.