Technical Tip: Scheduled configuration backups with variable names based on the date, time and serial number
| Description | The article describes how to take a scheduled backup configuration from a standalone FortiSwitch with variable names like date, time, and serial number using the automation stitches. |
| Scope | Standalone FortiSwitches 7.4.7 and newer. |
| Solution |
The following script will be triggered every hour after 1 minute based on the time configured on the FortiSwitch.
config system automation-trigger
config system automation-stitch
Note: Checking through the CLI console or SSH will not reflect any changes to the variables. The automation-stitch needs to be used to have the backup configuration with variable names based on the date, time, and serial number as follows:
%%log.date%%, %%log.time%%, %%log.sn%% |
