Backing up configuration files and databases
Back up the FortiManager 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 FortiManager CLI Reference. |
To verify the integrity of a backup file:
- Go to System Settings > Dashboard.
- In the System Information widget, click Backup. The Backup dialog box opens.
- In the
Encryption
line, deselect the checkbox so that the backup is not encrypted. - Click OK and save the backup file on your local computer.
- Locate the backup file and change the file extension from
.dat
to.tgz
. - 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:
- Go to System Settings > Dashboard.
- In the System Information widget, click Backup. The Backup dialog box opens.
- If you wish, select the checkbox to encrypt the backup file, and enter a password.
- 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. |