Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system recover

Syntax

Syntax (EX Series Switches)

Description

For devices running FreeBSD 10 or above, use this command to recover a specified volume of the system.

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

(all-members | local | member member-id)

(EX Series Virtual Chassis only) (Optional) Specify the members who need to recover archive data and executable areas in a Virtual Chassis:

  • all-members—Recover archive data and executable areas for all members of the Virtual Chassis.

  • local—Recover archive data and executable areas for the member of the Virtual Chassis that you are currently logged into.

  • member member-id—Recover archive data and executable areas for the specified member of the Virtual Chassis.

junos-volume

Specify 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-volume

Specify 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

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

Release Information

Command introduced in Junos OS Release 15.1.

Command introduced for all platforms using Junos OS with upgraded FreeBSD. To find which platforms in which releases use Junos OS with upgraded FreeBSD, see Feature Explorer, enter freebsd, and select Junos kernel upgrade to FreeBSD 10+.

Options (all-members | local | member member-id) introduced in Junos OS Release 24.4R1.