This article describes the standard methods of backing your full or virtual domain (VDOM) configuration based on the Fortinet documentation. Back up the Fortigate® Virtual Machine (VM) by using one of the following methods:
Web-based manager
The Fortigate command line interface (CLI)
Secure copy protocol (SCP)
Web-based manager#
Use the following steps to back up the Fortigate VM:
Navigate to the public Internet protocol (IP) address of your Fortigate VM and log in to your device.
In the top right of the navigation bar in the Fortigate manager, click your username.
Select Configuration > Backup.
Select Local PC and click OK.
Note: If you want to encrypt your configuration, toggle the encryption bar. Make sure to remember your password, in case you want to restore this configuration later.
Secure Copy Protocol#
Retrieve the backups from a remote server by using SCP. The following example uses a cloud server in the same region to back up the Fortigate VM configuration:
Log in to the firewall and enable SCP:
config system global set admin-scp enable end
Allow Secure Shell (SSH) access to the port of choice. The following example uses the ServiceNet port:
config system interface edit port1 set allowaccess ssh end
Log in to a backup server and copy the backup by using SCP:
# scp admin@10.x.x.x:sys_config fortigate_backup
Note: These steps assume that you have the administrator password to the Fortigate VM. Enter this password at the prompt. Replace 10.x.x.x with the IP address of your Fortigate VM.