[j-nsp] How to take Backup of Configuration file using FTP

Transworld Associates juniper.m320 at gmail.com
Fri Oct 27 10:58:13 EDT 2006


Thank You Very Much for the help !


On 10/27/06, Jared Gull <jmgull at yahoo.com> wrote:
>
> Hello,
>
> Is this a one time thing or are you trying to get it
> to automate regular backups?  If this is a one time
> effort, simply make use of the operational mode ftp
> client to copy the current configuration file over as
> shown below:
>
> lab at HongKong> file list /config
>
> /config:
> juniper.conf.1.gz
> juniper.conf.2.gz
> juniper.conf.3.gz
> juniper.conf.gz
>
> lab at HongKong> ftp 10.210.8.2
> Connected to 10.210.8.2.
> 220 Tokyo FTP server (Version 6.00LS) ready.
> Name (10.210.8.2:lab): lab
> 331 Password required for lab.
> Password:
> 230 User lab logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> bin
> 200 Type set to I.
> ftp> lcd /config
> Local directory now /config
> ftp> cd /var/tmp
> 250 CWD command successful.
> ftp> put juniper.conf.gz
> local: juniper.conf.gz remote: juniper.conf.gz
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for
> 'juniper.conf.gz'.
> 100%   1221       00:00 ETA
> 226 Transfer complete.
> 1221 bytes sent in 0.00 seconds (1.07 MB/s)
> ftp> cd /var/tmp
> 250 CWD command successful.
> ftp> ls
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for '/bin/ls'.
> total 6
> srw-rw----  1 root  operator     0 Oct 21 17:16
> .pccardd
> -rw-r--r--  1 lab   wheel     1221 Oct 27 07:43
> juniper.conf.gz
> -rw-r-----  1 root  wheel      178 Oct 21 17:26
> sampled.pkts
> 226 Transfer complete.
> ftp>
>
> OR, if your trying to perform regular backups you will
> want to configure configuration archival:
>
> lab at HongKong> configure
> Entering configuration mode
>
> [edit]
> lab at HongKong# edit system archival
>
> [edit system archival]
> lab at HongKong# set ?
> Possible completions:
> + apply-groups         Groups from which to inherit
> configuration data
> + apply-groups-except  Don't inherit configuration
> data from these groups
> > configuration        Automatic configuration uploads
> to host(s)
> [edit system archival]
> lab at HongKong# set configuration ?
> Possible completions:
> + apply-groups         Groups from which to inherit
> configuration data
> + apply-groups-except  Don't inherit configuration
> data from these groups
> > archive-sites
> transfer-interval    Frequency at which file
> transfer happens (minutes)
> transfer-on-commit   Transfer after each commit
> [edit system archival]
> lab at HongKong# set configuration
>
> HTHs..
>
> Jared
>
>
> --- Transworld Associates <juniper.m320 at gmail.com>
> wrote:
>
> > Dear ALL !
> >
> > Please guide me, I need to take backup of my
> > configuration file through FTP
> >
> > Regards !
> > _______________________________________________
> > juniper-nsp mailing list juniper-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/juniper-nsp
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>


More information about the juniper-nsp mailing list