Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

request system recover

 

Syntax

Release Information

Command introduced in Junos OS Release 15.1 for MX240, MX480, MX960, MX2010, and MX2020 routers and EX9200 switches only.

Command introduced in Junos OS Release 15.1X53-D30 for QFX5200 switches.

Command introduced in Junos OS Release 15.1X53-D60 for QFX10000 switches.

Command introduced in Junos OS Release 16.1R1 for VM host on MX240, MX480, MX960, MX2010, and MX2020 routers and PTX5000 routers.

Command introduced in Junos OS Release 17.3 for SRX5400, SRX5600, and SRX5800 devices.

Description

Recover a specified volume of the system.

Note

Guest network functions (GNFs) do not support the recover option under the request system command. See Components of Junos Node Slicing for more details on GNF.

Options

junos-volumeSpecify the /junos volume to be recovered. The /junos volume is the main drive and contains all the software and files needed for the day-to-day running of the device, including configuration information and logs. The/junos volume also contains non-recovery snapshots, which are new with Junos OS with upgraded FreeBSD. Non-recovery snapshots cannot be used for recovery of a failed system.
oam-volumeSpecify the /oam volume to be recovered. The compact flash drive is the /oam volume and stores recovery snapshot backup information. In case of failure of the /junos volume, the /oam volume can be used to boot the system. The /oam volume has the recovery snapshot, which is created with the request system snapshot recovery command. A recovery snapshot is always replaced when a new recovery snapshot is taken.

Additional Information

If you try to recover the junos volume while you are booted on the junos volume, you will get an error message.

To recover the junos volume, do the following:

  1. Recover the oam volume.

  2. Reboot on the oam volume.

Required Privilege Level

view

List of Sample Output

request system recover junos-volume (While booted on the junos volume)

request system recover junos-volume (While booted on the oam volume)

request system recover oam-volume

Sample Output

request system recover junos-volume (While booted on the junos volume)

user@host> request system recover junos-volume

request system recover junos-volume (While booted on the oam volume)

user@host> request system recover junos-volume

request system recover oam-volume

user@host> request system recover oam-volume