SRX

Expand all | Collapse all

Recover SRX from snapshot on USB

Jump to Best Answer
  • 1.  Recover SRX from snapshot on USB

    Posted 04-10-2019 08:40

    Hi all,

     

    I have a SRX that is in the db> mode and it doesn't recover the partitions and take me to the logon prompt. I have a snapshot of a working device saved to a USB. I would like to instruct the corrupt Juniper SRX to boot from the snapshot in USB.

     

    Could you please let me know how to do that ? Is it a straightforward thing like I just plug in the USB which has the working snapshot and reboot the device manually or I need to mention the boot source as USB somewhere in the db> prompt ?

     

    Please let me know ASAP.

     

    Thanking you.

    Regards,

    Pavan 

     

     



  • 2.  RE: Recover SRX from snapshot on USB

    Posted 04-10-2019 08:55
    Connect the USB and then reboot srx. It should boot from the USB if it has a working snapshot.


  • 3.  RE: Recover SRX from snapshot on USB
    Best Answer

    Posted 04-10-2019 10:17

    Pavan,

     

     

    • Plug a USB drive into a known healthy SRX which is of the same model and configuration as the faulty device. Run the following command:

     

     

    >request system snapshot media usb 

     

    • When the snapshot is complete, power down the faulty SRX. Remove the USB from the healthy SRX and plug it into the faulty SRX.


    • Power on the faulty device on and see if it will boot from the USB drive.


    • If it does, then snapshot the image from the USB drive back onto the compact flash (CF) with the following command:

     

    >request system snapshot media internal 

     

    This will load the image from the USB onto the SRX's internal compact flash.

     

     

    • Then reboot the device from the compact flash. Use the following command:

     

    >request system reboot media internal


    Note: Taking a snapshot of the healthy device will also take a snapshot of the configuration, and will load the same configuration on the faulty device.

     

    Reference: https://kb.juniper.net/InfoCenter/index?page=content&id=KB29811 

     

    Also if you manage to get to loader prompt, you can try: 

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB33005&cat=SRX_SERIES&actp=LIST&showDraft=false

     

     

     

     



  • 4.  RE: Recover SRX from snapshot on USB

    Posted 10-07-2019 20:32

    if i snapshot from SRX110 to recovery junos on SRX300, 

    it will be working?

     

    thank for advance

     

    last i tried,

     

    the message stuct at "inet regular console"

     

    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [/kernel]...
    Kernel entry at 0x801000e0 ...
    init regular console



  • 5.  RE: Recover SRX from snapshot on USB

     
    Posted 10-08-2019 03:01
    if i snapshot from SRX110 to recovery junos on SRX300, 
    
    it will be working?

    No the snapshots have to be from the same model of gear.

     

    It is a good idea to take a usb snapshot for recovery after upgrades and have that available.