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

Forti Automated Backup

Hello everyone,

I've just upgraded my Forti (1000c and 600c) to Firmware 5.4.1 .

My FW has 2 vdoms.

I want to create a scheduled script that will backup my configuration on daily basis.

I build a scheduled script :

config global

config system auto-script

edit Backup

set interval 86400

set repeat 0

set start auto

set script " execute backup config ftp FW-Backup SERVER_ADDRESS USERNAME PASSWORD "

and I get the error

" Unknown action 0

Command fail. Return code -1 "

  However when I run the command  "execute backup config ftp FW-Backup SERVER_ADDRESS USERNAME PASSWORD" not in a script - that works fine .

 

any ideas ?

 

Thanks,

Eden

5 REPLIES 5
Jeff_FTNT
Staff
Staff

It look you enable VDOM, please revised the setting like:

####

set script "config global

execute backup config ftp FW-Backup SERVER_ADDRESS USERNAME PASSWORD "

Thanks.

Eden_Aharon

Hi,

already tried it... it doesn't work .

brainskins
New Contributor

You need to have config global in there.

 

set script "config global

execute backup config ftp FW-Backup SERVER_ADDRESS USERNAME PASSWORD "

HA

Hi all,

 

Is it possible to specify the source IP of the FTP session ??

 

Regards,

 

HA

Eden_Aharon
New Contributor

Hi,

Actually the FTP server's address  is : 10.33.31.54 , is that what you mean ?

 

Thanks,

Eden 

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