Skip to main content
Eden_Aharon
New Member
November 7, 2016
Question

Forti Automated Backup

  • November 7, 2016
  • 2 replies
  • 6530 views

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

    2 replies

    Jeff_FTNT
    Staff
    Staff
    November 7, 2016

    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
    New Member
    November 8, 2016

    Hi,

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

    brainskins
    New Member
    November 16, 2016

    You need to have config global in there.

     

    set script "config global

    execute backup config ftp FW-Backup SERVER_ADDRESS USERNAME PASSWORD "

    HASimac
    New Member
    November 17, 2016

    Hi all,

     

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

     

    Regards,

     

    HA

    Eden_Aharon
    New Member
    December 7, 2016

    Hi,

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

     

    Thanks,

    Eden