[j-nsp] JUNOS Configuration backup

kura at iij.ad.jp kura at iij.ad.jp
Thu Jan 3 21:46:08 EST 2008


Hello,

I think "event-options" will match for your purpose.
For example,

[edit event-options]
generate-event {
    EVERY-NIGHT time-of-day "02:30:00 -2000";
}
policy UPLOAD-CONFIG {
    events EVERY-NIGHT;
    then {
        upload filename committed destination FTP-SERVER;
    }
}
destinations {
    FTP-SERVER {
        archive-sites {
            "ftp://username@server-name/dir-name" password "...";
        }
    }
}

ref: http://www.juniper.net/techpubs/software/junos/junos84/swconfig84-automation/upload.html

Regards,
-- 
Tomohiko Kurahashi <kura at iij.ad.jp>


From: diogo.montagner at gmail.com
>
> Hi all,
> 
> I'm looking for the best sollution for a JUNOS configuration backup methods.
> 
> The best solution for my case would be the "system archival" with a plus
> where I could specify the time for the upload of configuration to the FTP
> server (just like a cronjob).
> The system archival support only two methods of configuration:
> transfer-on-commit and transfer-on-interval.
> 
> At this time, I'm using transfer-on-interval but this solution does not
> ensure that transfer to the FTP site will occur every day at the same time
> for a long period.
> 
> Does anybody have any suggestion ?
> 
> Best regards,
> 
> -- 
> ./diogo -montagner
> _______________________________________________
> 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