Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

request vmhost snapshot

 

Syntax

Release Information

Command introduced in Junos OS Release 15.1F3 for the PTX5000, MX240, MX480, and MX960 routers.

Command introduced in Junos OS Release 15.1F5 for the MX2010 and MX2020 routers.

Command introduced in Junos OS Release 16.1R4 for the PTX3000 routers.

Note

PTX3000 router supports the Routing and Control Board, RCBPTX.

Command introduced in Junos OS Release 17.1R1 for EX9200 switches.

Command introduced in Junos OS Release 17.2R1 for the PTX1000 routers.

Command introduced in Junos OS Release 17.3R1 for the MX10003 routers.

Command introduced in Junos OS Release 17.4R1 for the MX204 routers.

Command introduced in Junos OS Release 18.1R1 for the QFX10002-60C switch.

Command introduced in Junos OS Release 18.2R1 for the PTX10002-60C router.

Command introduced in Junos OS Release 18.2R1 for MX10008 router.

Statement introduced in Junos OS Release 19.2R1-S1 for the ACX5448-D routers and the ACX5448-M routers.

Description

Create a recovery snapshot of the currently running and active file system partitions on the backup disk to recover the primary disk in case of failure.

On the device, back up the snapshot of the host OS image along with the Junos OS image. In case of failure of the primary disk, you can boot from the image available in the backup disk and then recover the primary disk with the snapshot created using the recovery option.

Options

none—Create a snapshot from the current disk to the target disk without partitioning the target disk. Contents on target disk is lost.

partition(Optional) Create a snapshot from the current disk to target disk and partition the target disk. Contents on the target disk are lost
re0 | re1(Optional) Create a snapshot from the current disk to target disk and partition the target disk on Routing Engine in slot 0 (re0) or on the Routing Engine in slot 1 (re1). The snapshot is taken without partitioning the target disk on corresponding Routing Engines. Contents on the target disk on the Routing Engines are lost.

For PTX1000 routers, since there is only one RE, re0|re1 is not supported.

Note

The QFX10002-60C and PTX10002-60C devices do not have master and backup routing engines.

recovery(Optional) Recover the primary disk from the snapshot content stored in the backup disk. This option is applicable only when the Routing engine is booted from backup disk. Contents in the primary disk are lost.
routing-engine(Optional) Specify the Routing Engine on which the snapshot is to be created. The following options are available:
  • backup—Backup Routing Engine.

  • both—Both Routing Engines.

  • local—Routing Engine on the local Virtual Chassis member.

  • master—Master Routing Engine.

  • other—Other Routing Engine.

Required Privilege Level

maintenance

Related Documentation

List of Sample Output

request vmhost snapshot

request vmhost snapshot recovery

Sample Output

request vmhost snapshot

user@host> request vmhost snapshot

request vmhost snapshot recovery

user@host> request vmhost snapshot recovery