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

7.2.0 Schedule Backup Issue

Hello everyone,

 

we have ha 600e firewalls. they work by 7.2.0 firmware. We want get configuration backup via automation stitch.

when we execute the command on cli the backup file sends to ftp server. But while we set the trigger time. trigger can't start.

 

I attached the config

 

config system automation-action
edit "BackupScript"
set action-type cli-script
set script "execute backup config ftp /ftp/backup_%date%%_%%time%%.conf 192.168.20.1 sandbox 1"
set execute-security-fabric enable
set accprofile "super_admin"

 

config system automation-trigger
edit "TriggerBackup"
set trigger-type scheduled
set trigger-frequency hourly
set trigger-minute 50

 

config system automation-stitch
edit "BackupStitch"
set trigger "TriggerBackup"
config actions
edit 1
set action "BackupScript"
set delay 5

 

thank you for your help

 

 

3 REPLIES 3
Anthony_E
Community Manager
Community Manager

Hello Emre,

 

Thank you for using the Community Forum.

I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Regards,

Anthony-Fortinet Community Team.
jhussain_FTNT

Hi,

Kindly provide the output the below command.

diagnose automation test <automation-stitch name>.

 

Regards

Jamal

distillednetwork
Contributor III

I am not sure if the output was copied from the Fortigate or not, but if it was, your data variable appears to be missing a %:

 

%date%% should be %%date%%

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors