Junos
Highlighted
Junos

Backup Active Configuration to Ftp

‎04-04-2019 05:16 AM

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 REPLIES 2
Highlighted
Junos
Solution
Accepted by topic author cigalah
‎04-04-2019 05:28 AM

Re: Backup Active Configuration to Ftp

[ Edited ]
‎04-04-2019 05:28 AM

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

 

file copy /config/juniper.conf.gz ftp://tomSmiley Tongueanda@192.133.13.13

 

Where  Username:tom

              PasswordSmiley Tongueanda

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

 

Highlighted
Junos

Re: Backup Active Configuration to Ftp

‎04-06-2019 05:52 AM

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-ma...

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home