Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system snapshot (Junos OS Evolved)

Syntax

Description

On devices running Junos OS Evolved, take a “snapshot” of the files currently used to run the device and copy the files onto the alternate solid-state drive (SSD). The snapshot contains the complete contents of the /soft, /config, and /root directories, which include the current and all rollback software images, copies of user data, the active configuration, the rescue configuration, and content from the /var directory (except the /var/core, /var/external, /var/log, and /var/tmp directories). You can then use this snapshot to boot the device at the next boot up or as a backup boot option.

Starting with Junos OS Evolved 21.2, for dual-Routing Engine systems, this command only runs on the local Routing Engine, and not on both Routing Engines in the system. Any data in the /var/home directory of the secondary disk is no longer overwritten.

CAUTION:

After you run the request system snapshot command, you cannot return to the previous version of the software, because the running and backup copies of the software are identical.

Options

none

Take a snapshot of the local Routing Engine.

configuration

Copy the /config directory and the configuration stored for each installed software version to the alternate SSD as part of the snapshot. This is the default.

no-configuration

Do not copy the /config directory or the configuration stored for each installed software version to the alternate SSD as part of the snapshot.

routing-engine (both | local)

(Optional) Routing Engine on which to perform the snapshot. Supported values include:

  • both—In a dual Routing Engine environment, take a snapshot of each Routing Engine. If the backup Routing Engine is outside of the system, for example, because of a software version mismatch, Junos OS Evolved takes a snapshot of the primary Routing Engine only.

  • local—Take a snapshot of the local Routing Engine only.

Additional Information

Before you upgrade the software on the router or replace one of the Routing Engines, when you have a known stable system, issue the request system snapshot command to back up the software, including the configuration, to the /soft directory. After you have upgraded the software or have replaced one of the Routing Engines, and are satisfied that the software packages are successfully installed and running, issue the request system snapshot command again to back up the software to the /soft directory.

Required Privilege Level

view

Output Fields

When you enter this command, the system provides feedback on the status of your request.

Sample Output

request system snapshot (Junos OS Evolved)

Release Information

Command introduced in Junos OS Evolved Release 20.4R2.

routing-engine both and local options added in Junos OS Evolved Release 22.4R1.

configuration and no-configuration options added in Junos OS Evolved Release 23.4R1.