Hello
we use automation/cli script to backup the configuration.
How can i use the date in the filename?
Is there a parameter like %%date%%?
So that a backup would look like:
execute backup full-config ftp /Folder/backup_%%date%%.cfg user pwd
thanks for any input.
Regards
Mario
Hello,
Please refer below document to configure the automation stitch for configuration backup.
It won't work if you test the command by typing the command directly into the CLI.
This will generate a file name which is in the command line, however in order to achieve your requirement please configure the parameters in the cli of automation stitch then only the file will be having the date and time.
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.