Hello Engineers,
My FortiGate is 601F and Frimware V7.4.4
I’m encountering an issue with scheduling backups from FortiGate to our backup server. The backups are being executed successfully, but the filenames do not include the date and time as required.
Here is the script I used:
execute backup full-config sftp /FortiGate-FW/%%log.date%%.conf 10.220.210.10 admin klJKdfhd#54@dm,f
I need the backup files to include both the date and time. Could anyone advise on how to modify the script to incorporate timestamps in the backup filenames?
Thanks
hello
Please refer to the document to use date for the backup
Hello @Ahmedaz
Time variable would not work for some TFTP/SFTP/FTP servers because it detects these variables as bad characters.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Automated-configuration-backups-with-varia...
execute backup full-config sftp FGT601F_%%date%%.conf 10.220.210.10 admin password
salmas
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1735 | |
1107 | |
752 | |
447 | |
240 |
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.