SRX Services Gateway
SRX Services Gateway

Recover SRX from snapshot on USB

‎04-10-2019 08:39 AM

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.





SRX Services Gateway

Re: Recover SRX from snapshot on USB

‎04-10-2019 08:55 AM
Connect the USB and then reboot srx. It should boot from the USB if it has a working snapshot.
JNCIE x3 (SEC #321; SP #2839; ENT #790)
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!
SRX Services Gateway
Accepted by topic author pavan430
‎04-17-2019 06:37 AM

Re: Recover SRX from snapshot on USB

‎04-10-2019 10:16 AM




  • 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.




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





Pura Vida from Costa Rica - Mark as Resolved if it applies.
Kudos are appreciated too!