excellent post, thanks for sharing.
Can you please let me know what is the location for JUNOS software active and backup both? I want to copy JUNOS software from router to ftp server.
Thanks for your help
@aeroplane wrote:Hi Raheel Can you please let me know what is the location for JUNOS software active and backup both? I want to copy JUNOS software from router to ftp server. Thanks for your help
The easiest solution might be to enter configuration mode, save your configuration to your home directory, and then SFTP that off of the box.
Sounds like you are looking for the jinstall file (for M/T/MX/TX series). When the software is installed, it could potentially be unpacked from the jinstall anywhere on the file system to be split into several packages such as the jpfe, jbase, jcrypto, etc. However, generally the jinstall file is saved in /var/tmp before "request system software add" is run, and that file is not removed automatically as part of the upgrade procedure. Alternatively, it could be in one of the user directories on /var/home.
This jinstall file is what you want to archive onto your FTP server, rather than any of the individual bundles anyway.
Hope this helps,
Backup of JunOS software is placed at /var/sw/pkg. You can copy it through TFTP ....
Good doc.Thanks for shared.
Hi Raheel,Thanks for a great post! I have couple of things to add, may be this will be usefulfor someone.1) If you use a "configure dynamic" feature, the database file is /var/run/db/juniper.dyn2) The size limit for the configuration databases (for each of the files juniper.dataand juniper.dyn) is about 716MB - at least for JunOS 10.x on MX platforms.If this maximum will not be enough for your config, the system will not be able toincrease the file size at some point, and you will get a commit error.
thanks for sharing, wonderful post.
Thanks for the post
Configuration backup from 0-3 & rescue configuration are available in /config
root@SW08COC02> file list /config/
Configuration backup from 4-49 is available in /config/db/config; however it can also be accessed via /var/db/configbecause of the link below!
root@SW08COC02> file list /var/db
config@ -> /config/db/config