[j-nsp] How to take Backup of Configuration file using FTP
Sinan İlkiz
sinan.ilkiz at borusantelekom.com
Mon Oct 30 02:27:09 EST 2006
If you prefer the first option that Erdem suggested and dont want to deal with compressed configs, you can use the following knob to force JunOS to save configs as clear text. But i dont think it is a good practice.
[edit system]
sinani at Maslak-M7i# set ?
...
no-compress-configuration-files Don't compress the router configuration files
...
I personnally prefer backing up configs via a UNIX box every night, because sometimes our operators tend to commit too often when troubleshooting a customer problem.
Regards.
-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Erdem Sener
Sent: 27 Ekim 2006 Cuma 17:41
To: Transworld Associates
Cc: juniper-nsp at puck.nether.net
Subject: Re: [j-nsp] How to take Backup of Configuration file using FTP
Hi,
You have two options:
1) You can build a script on a server that connects to the box via FTP and 'downloads' the configuration file every n time using crontab.
This user should at least have 'maintenance' privileges to download the configuration:
class backup-dudes {
permissions maintenance;
user backup-user {
uid xxx;
class backup-dudes;
2) You can have the router store a copy on the configuration file on each commit or every x minutes to a remote FTP server:
user at host# show system archival
configuration {
transfer-on-commit;
archive-sites {
"ftp://test:test123@ftp.somehost.com";
}
}
For more options:
user at host# set system archival 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
(15..2880 minutes)
transfer-on-commit Transfer after each commit
HTH
--
Erdem
On 10/27/06, 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
>
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp
More information about the juniper-nsp
mailing list