Hello
i try to setup automatic backup over automation.
I use the cli command:
execute backup full-config ftp /Netdevice-BCK/BU-FWZ/BU-FWZ-test.cfg server user password
Executed in cli, it works fine.
When i try to start the command as automation stitch, the backup is not uploaded to the ftp server.
What am i missing?
Regards
Mario
-> Debug output when testing automation stitch:
0: config global
0: config system auto-script
0: edit "autod.858"
0: set script "execute backup full-config ftp /Netdevice-BCK/BU-FWZ/BU-FWZ-test.cfg server user password"
0: end
0: end
-1: execute backup full-config ftp /Netdevice-BCK/BU-FWZ/BU-FWZ-test.cfg server user password
Solved! Go to Solution.
Example on how to use automation stitches for scheduled backups can be found at https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-send-automated-backups-of-the-confi... .
Also don't forget to switch to global context if you have VDOMs enabled.
set script "
config global
execute backup full-config ftp /Netdevice-BCK/BU-FWZ/BU-FWZ-test.cfg server user password"
Ah - I think you have VDOMs enabled?
In that case, your automation stitch script needs to look like this:
config global
execute backup full-config ftp /Netdevice-BCK/BU-FWZ/BU-FWZ-test.cfg server user password
-> or 'config vdom/edit <vdom>/exe backup [...]'
Example on how to use automation stitches for scheduled backups can be found at https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-send-automated-backups-of-the-confi... .
Also don't forget to switch to global context if you have VDOMs enabled.
set script "
config global
execute backup full-config ftp /Netdevice-BCK/BU-FWZ/BU-FWZ-test.cfg server user password"
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.