JunOS : How to configure automated configuration backup

By | October 26, 2014

For sure, if you are concerned about your network you will make sure that you always have a good backup of your configuration file somewhere. Fortunately, JunOS have a nice built-in backup function through FTP or SFTP. It allow you to do an automated backup at defined time interval and even more, every time you commit a change in your configuration!

To create an automated remote backup at a define interval, simply use :

So if we want to do a daily backup with user “bkupusr”, password “bkuppasswd” and SFTP server destination IP “192.168.2.2”, the command would look like :

To create an automated remote backup every time you commit a change in your configuration, simply use :

Again, with the same example as above, the command would look like :