SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  SRX 100 Backup

    Posted 09-15-2010 11:53

     

    How to Backup Config files from SRX 100 in CLI and J-Web. Looking forward to hear from you soon.



  • 2.  RE: SRX 100 Backup

    Posted 09-15-2010 13:27

    I am not sure about the jweb but in the CLI you can use the save command at the top of the config to save that config in the filesystem. You can also run "show | no-more" and copy that to an external system.



  • 3.  RE: SRX 100 Backup

    Posted 09-15-2010 13:32

    Hi,

     

    for the CLI:

    You can use the following command to copy the active configuration file to a server:

    	aviva@router1> file copy /config/juniper.conf.gz  server1:/homes/aviva/tmp 
    	aviva@server1's password:
    	juniper.conf.gz               100% 2127       2.1KB/s       00:00

     

    From configuration mode, use the save command to copy the candidate configuration to your home directory on a server:

    	[edit]
    	aviva@router1# save server1:configuration-march02
    	aviva@server1's password:
    	tempfile                      100%    11KB    11.2KB/s      00:00
    	Wrote 433 lines of configuration to 'server1:configuration-march02'

     

    You can also save it to a file in your home directory on the router:

    	[edit]
    	aviva@router1# save  configuration-march02 
    	Wrote 433 lines of configuration to 'configuration-march02'
    	aviva@router1# run file list 
    	/var/home/aviva:
    	.ssh/
    	configuration-march02

     

    Another way to back up configuration files is to automatically transfer the file each time you commit the configuration:

    	[edit system]
    	aviva@router1# set archival configuration transfer-on-commit 
    	aviva@router1# set archival configuration archive-sites ftp: //aviva:password@server1.
    	mynetwork.com:/m20-config-archives



  • 4.  RE: SRX 100 Backup

    Posted 02-18-2012 19:45
    Hi,

    From J-Web, go to Maintain>Config Management>History, choose the required configuration to download.


  • 5.  RE: SRX 100 Backup

    Posted 12-09-2012 21:37

    You can also go into shell with root and use normal scp; you may need the interface you are scp'ing from to be configured as an ssh managed interface.

     

    %start shell

    %su root

    <root password will be required>

     

    scp /config/juniper.conf.gz <username>@server1:/home/<username>

     

     



  • 6.  RE: SRX 100 Backup

    Posted 11-19-2013 11:56

    Hello PIccolo,
    Thanks for the information. Appreciate if you could clarify the following questions.

     

    - When used the "file copy /config/juniper.conf.gz" command to upload the config to a server, what protocol (ftp, tftp, scp) is used by the system?

     

    - Is SCP is supported on SRX branch gateways (using 10.0.R3) in normal mode (not shell mode)?

     

    - In order to restore the configuration, can we use "load override scp://<SERVERIP>/PATH/TO/CONFIG" command and will this overwrite the config file at /config/juniper.conf.gz?

     

    Thanks
    MSC



  • 7.  RE: SRX 100 Backup

    Posted 11-20-2013 23:56

    They way I do it is enable ftp services and then connect through using an ftp client and browse through the folders to the config file.  The same way goes if you wanted to upload a config.  Don't forget to remove the system services ftp when you finish.