Junos OS

Expand all | Collapse all

Backup Active Configuration to Ftp

Jump to Best Answer
  • 1.  Backup Active Configuration to Ftp

    Posted 04-04-2019 05:17

    Hello,

     

                I have SRX 240 firewall and I would like to back up  the active configuration to my Ftp  server. I have tried the below but couldnt.

     

    root@FE-FW> file copy /config/juniper.conf.gz ftp://192.133.13.13/ftp/
    fetch: ftp://192.133.13.13/ftp/juniper.conf.gz: Not logged in
    error: put-file failed
    error: could not send local copy of file

     

    Where 192.133.13.13 is the FTP server and ftp is the directory.

     



  • 2.  RE: Backup Active Configuration to Ftp
    Best Answer

    Posted 04-04-2019 05:29

     My bad actually the passsword was wrong I have use the below command.

     

    file copy /config/juniper.conf.gz ftp://tom:panda@192.133.13.13

     

    Where  Username:tom

                  Password:panda

    192.133.13.13 is the ftp server

     

    After posting I have seen smily is comming in the syntax use  : between user name and password

     



  • 3.  RE: Backup Active Configuration to Ftp

     
    Posted 04-06-2019 05:52

    You also might be interested in the feature where you can send a config backup either on a schedule or on commit to an ftp or scp server automatically.

     

    https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/junos-software-system-management-router-configuration-archiving.html