Description
This article describes how to take backup FortiGate config on a USB thumb drive (CLI/Console and GUI).
Scope
FortiGate v6.4, 7.x
Solution
Backup FortiGate configuration on a USB thumb drive.
CLI/Console guide.
execute backup config usb <backup_filename> <Enter>|<backup_password>
3. Enter the command below to verify the configuration file are on the key.
exec usb-disk list
Note.
FortiGate will automount FAT, vFAT or FAT32 formatted USB.
4. To restore the backup configuration in CLI.
Log into CLI/Console and enter the command below.
execute restore config usb <backup_filename> <Enter>|<backup_password>
Do you want to continue? (y/n) <----- Type 'y'.
To backup/restore a VDOM configuration, enter into that VDOM first then use the above-mentioned commands.
config vdom
edit <vdom_name>
GUI guide:
Note.
Enable the 'Encryption' option to encrypt the backup file with a password.
Note.
Enter the correct password if the backup file has been encrypted with a password during backup. Leave it blank if otherwise.
Related documents:
Technical Tip: Backup and restore configuration file from a thumb drive (USB).
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 2025 Fortinet, Inc. All Rights Reserved.