- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
issue with %%date%%
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
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello
Please refer to the document to use date for the backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
