Technical Tip: How to configure an auto script to daily backup FortiGate config on a USB thumb drive
| Description | This article describes how to configure an auto script to daily backup the FortiGate config on a USB thumb drive. |
| Scope | FortiGate. |
| Solution | This option is only available in CLI:
exec usb-disk format
config system auto-script edit Backup set interval 86400 <----- 24 hours. set repeat 0 <----- Indefinitely repeat. set start auto set script "execute backup config usb <backup_filename>" set output-size 10 <- Optional. next end
The FortiGate will now, save a configuration backup daily to the USB. This option will not be available if there is no USB drive inserted in the USB port.
Check the files in the USB with the command 'exec usb-disk list'. |
