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

Fortigate Automation Stitch trigger schedule not working

Hello Expert,

 

I configured a Stitch to backup our Fortigates firewall to an solarwinds tftp server. 

But I notice once the backups are completed for a week it is not running automatically for the next week.

 

I did some troubleshooting and found that last trigger date and next scheduled trigger is same.

Unsure if this is preventing the backup from running at the next appointed time.

I humbly request some help .

 

Please results before for guidance .

 

 

Guy-Head-Office-1 # diagnose test application autod 3
alert mail log count: 0

 


stitch: Weekly_backups_to_TFTP (scheduled)

local hit: 0 relayed to: 564 relayed from: 564
last trigger: last relay:Sun Feb 9 14:08:41 2025

next scheduled trigger:Sun Feb 9 14:30:00 2025
actions:
Upload Backup config to Tftp Server:
done: 564 relayed to: 564 relayed from: 564
last trigger: last relay:Sun Feb 9 14:08:41 2025

 

Thank you

Regards

 

 

1 Solution
dingjerry_FTNT

Hi @jomof ,

 

I used your configurations, only changed the TFTP server and scheduled time, got the following:

 

stitch: Weekly_backups_to_TFTP (scheduled)

local hit: 1 relayed to: 1 relayed from: 0
last trigger:Sun Feb 16 09:30:13 2025
last relay:
next scheduled trigger:Sun Feb 23 09:30:00 2025
actions:
Upload Backup config to Tftp Server:
done: 1 relayed to: 1 relayed from: 0
last trigger:Sun Feb 16 09:30:13 2025
last relay:

 

I would recommend you delete and recreate the stitch for a try.

Regards,

Jerry

View solution in original post

7 REPLIES 7
dingjerry_FTNT

Hi @jomof ,

 

Please share the configuration of your Automation Stitch.

Regards,

Jerry
jomof

Guy-Head-Office-1 # config system automation-stitch


edit "Weekly_backups_to_TFTP"
set description ''
set status enable
set trigger "Weekly_Backup"
config actions
edit 1
set action "Upload Backup config to Tftp Server"
set delay 360
set required enable
next
end
set destination "daily_backups" "daily_backups1"
next
end

dingjerry_FTNT

Hi @jomof ,

 

Please share the configuration of the trigger "Weekly_Backup"

Regards,

Jerry
jomof

Guy-Head-Office-1 (Weekly_Backup) # show
config system automation-trigger
edit "Weekly_Backup"
set trigger-type scheduled
set trigger-frequency weekly
set trigger-weekday sunday
set trigger-hour 14
set trigger-minute 30
next
end

dingjerry_FTNT

Hi @jomof ,

 

Configurations look good.  

 

Is it possible for you to provide all related automation stitch configurations so I can test it locally?

Regards,

Jerry
jomof

config system automation-stitch
edit "Weekly_backups_to_TFTP"
set trigger "Weekly_Backup"
config actions
edit 1
set action "Upload Backup config to Tftp Server"
set delay 360
set required enable
next
end
set destination "daily_backups" "daily_backups1"
next
end
config system automation-trigger
edit "Weekly_Backup"
set trigger-type scheduled
set trigger-frequency weekly
set trigger-weekday sunday
set trigger-hour 14
set trigger-minute 30
next
end

config system automation-action
edit "Upload Backup config to Tftp Server"
set action-type cli-script
set minimum-interval 1
set script "exec backup full-config tftp %%log.devname%%.cfg xxx.ppp.10.32"
set execute-security-fabric enable
set accprofile "super_admin"
next
end

 

Regards

dingjerry_FTNT

Hi @jomof ,

 

I used your configurations, only changed the TFTP server and scheduled time, got the following:

 

stitch: Weekly_backups_to_TFTP (scheduled)

local hit: 1 relayed to: 1 relayed from: 0
last trigger:Sun Feb 16 09:30:13 2025
last relay:
next scheduled trigger:Sun Feb 23 09:30:00 2025
actions:
Upload Backup config to Tftp Server:
done: 1 relayed to: 1 relayed from: 0
last trigger:Sun Feb 16 09:30:13 2025
last relay:

 

I would recommend you delete and recreate the stitch for a try.

Regards,

Jerry
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors