Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
gn
New Contributor

Automated backup Date variable

Hi,

 

 

I am running Fortigate 3000D with fortiOS  6.4.9.

while running the automated backup script

 

------------------------------------------------------

Config Global

execute backup config tftp  My_FGT_%%date%%.conf 10.3.10.2

---------------------------------------------------------

 

it does not replaces the variable %%date%%  with the date, i even tried the variable %%log.date%% also but no luck.

 

Can anyone , please help to get the right variable for date.

 

 

 

Regards,

Ali

1 REPLY 1
abarushka
Staff
Staff

Hello Ali,

 

Format looks good. You may consider to try "fgt_%%date%%_%%time%%.conf" format for testing purposes.

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Adding-date-and-time-in-file-name-for-sche...

FortiGate
Labels
Top Kudoed Authors