The autorecovery feature is supported on dual-partitioned SRX100, SRX110, SRX210, SRX220, SRX240, SRX550 and SRX650 Services Gateways from Junos version 11.2. With this feature, information on disk partitioning, configuration, and licenses is recovered automatically; in the event it gets corrupted.
The following issues can be resolved by using the autorecovery feature:
For more information about the autorecovery feature, refer to the Autorecovery of Configuration, Licenses, and Disk Information on SRX Series Devices . Data which Is backed up in an Autorecovery : The following data is backed up during the autorecovery process:
Data is backed up, only when the request system autorecovery state save command is executed. Disk-partitioning information is automatically backed up from factory defaults (for new systems); on installation from the boot loader and snapshot creation. Before autorecovery is enabled :
root> show system autorecovery state WARNING: recovery partition does not exist on the system WARNING: Creating recovery partition now Configuration: File Recovery Information Integrity Check Action / Status rescue.conf.gz Not Saved Not checked Requires save Licenses: File Recovery Information Integrity Check Action / Status JUNOS123456.lic Not Saved Not checked Requires save JUNOS123456.lic Not Saved Not checked Requires save JUNOS123456.lic Not Saved Not checked Requires save JUNOS123456.lic Not Saved Not checked Requires save JUNOS123456.lic Not Saved Not checked Requires save JUNOS123456.lic Not Saved Not checked Requires save JUNOS123456.lic Not Saved Not checked Requires save BSD Labels: Slice Recovery Information Integrity Check Action / Status s1 Not Saved Not checked Requires save s2 Not Saved Not checked Requires save s3 Not Saved Not checked Requires save s4 Not Saved Not checked Requires save
After autorecovery is enabled :
root> request system autorecovery state save root> show system autorecovery state Configuration: File Recovery Information Integrity Check Action / Status rescue.conf.gz Saved Passed None Licenses: File Recovery Information Integrity Check Action / Status JUNOS123456.lic Saved Passed None JUNOS123456.lic Saved Passed None JUNOS123456.lic Saved Passed None JUNOS123456.lic Saved Passed None JUNOS123456.lic Saved Passed None JUNOS123456.lic Saved Passed None JUNOS123456.lic Saved Passed None BSD Labels: Slice Recovery Information Integrity Check Action / Status s1 Saved Passed None s2 Saved Passed None s3 Saved Passed None s4 Saved Passed None
To clear autorecovery, you can use the [ root> request system autorecovery state clear ] command. To recover the device, with the saved information in autorecovery, use the [ root> request system autorecovery state recover ] command. Note : Every time when the autorecovery command is executed, the rescue config will get edited with the current system configuration.
2020-03-27: Article reviewed for accuracy; it is valid and accurate.