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.
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 |
---|---|
1742 | |
1114 | |
760 | |
447 | |
241 |
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 2025 Fortinet, Inc. All Rights Reserved.