Description |
This article describes how to migrate FortiManager or FortiAnalyzer to a different platform. This article's steps are intended for migration between different platforms such as a different hardware model, different VM environments, or from hardware to a VM. |
Scope | FortiManager, FortiAnalyzer. |
Solution |
Note: In the case of migrating between VM environments, 'exec restore' can be used instead of 'exec migrate' to load the configuration. This allows for system settings to be copied over.
Migrating to different platform:
execute backup all-settings {ftp | sftp} <ip:port> <path/filename> <username> <password> <crptpasswd>
For example:
exe backup all-settings sftp 192.168.1.100:22 /home/fortinet/Downloads/ username password backup-file-pwd # Starting transfer the backup file to SFTP server...
Note: It is mandatory to enter password <crptpasswd> for the backup file in latest firmware version
execute migrate all-settings <ftp/scp/sftp> <server ip> <path/filename> <username> <password> <crptpasswd>
For example:
exe migrate all-settings sftp 192.168.1.100:22 /home/fortinet/Downloads/backup.dat username password backup-file-pwd This operation will replace the current databases and reboot the system. Starting transfer the backup file from SFTP server...
Migrate Technical Tip: How to reuse FortiManager/FortiAnalyzer VM licenselogs and reports: Technical Tip: Backup and restore of FortiAnalyzer settings, logs and reports.
execute backup logs <device name(s)| all> <ftp/sftp/scp> <ip> <user name> <password> <directory>
execute restore logs <device name(s)| all> <ftp/sftp/scp> <ip> <user name> <password> <directory>
execute sql-local rebuild-db
Check the rebuild status:
Once the DB rebuild has been completed, navigate to Longview and verify the analytics logs.
Update FortiGate configuration settings: Point FortiGate to the new instance with the steps below and restart the respective FortiGate daemon:
For FortiAnalyzer:
exe batch start config log fortianalyzer setting set server <<new FAZ IP address>> set serial <<new FAZ serial number>> end exe batch end
fnsysctl killall miglogd
For FortiManager:
exe batch start config system central-management set fmg <<new FMG IP address>> set serial-number <<new FMG serial number>> end exe batch end
fnsysctl killall fgfmd
Related articles: Technical Tip: Using exec migrate to migrate to a new FortiAnalyzer/FortiManager model |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.