Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

recovery

Syntax

Hierarchy Level

Description

Configure system snapshot recovery management options.

Options

automatic

This option automatically recovers the Junos volume when necessary.

When you issue the request system snapshot command, the configuration on the device is stored in the OAM volume along with the creation of the recovery snapshot.

configuration-only

This option allows you to create or update a recovery snapshot along with storing the configuration on the device.

When you configure this option, the following scenarios occur:

  • If a recovery snapshot does not exist for the current Junos image, issuing the request system snapshot command create a recovery snapshot along with storing the configuration on the device.

  • If a recovery snapshot exists for the current image and additional packages are added or removed, a new recovery snapshot is created. The configuration changes are stored along with the new snapshot on the device.

  • If a recovery snapshot exists for the current image and no changes are made to the current image, only the configuration changes are stored to the existing recovery snapshot. No new recovery snapshot is created.

configuration-preference

This option allows you to specify a preferred configuration when booting from the OAM volume.

no-automatic

When you configure this option, the system does not recover the Junos volume automatically.

on-upgrade

Update the recovery snapshot when the Junos release changes.

This option enables the system to automatically create a recovery snapshot when you load a different version of the Junos image on the device. The system generates a recovery snapshot with the new Junos image version and stores the configuration on the device.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 24.2R1.