Supported Platforms
request system snapshot
Syntax
Release Information
Command introduced in Junos OS Release 11.3 for the QFX Series.
Description
Copy the currently running Junos OS and configuration to alternate media. This command takes a snapshot of the contents of the / (root), and /var partitions on the media used to boot the switch and then copies the snapshot to alternate media. If the switch was booted from internal flash memory, the snapshot is copied to an external USB flash drive. If the switch was booted from an external USB flash drive, the snapshot is copied to internal flash memory.
Options
none | — | Create a snapshot on the alternate media—that is, the external media if you booted the switch using software stored on internal media or internal media if you booted the switch using software stored on external media. |
partition | — | Partition the destination media before copying over the snapshot. |
Required Privilege Level
view
List of Sample Output
request system snapshot partitionSample Output
request system snapshot partition
user@switch> request system snapshot partition
Clearing current label... Partitioning external media (da1) ... Verifying compatibility of destination media partitions... Running newfs (334MB) on external media / partition ... Running newfs (404MB) on external media /config partition ... Running newfs (222MB) on external media /var partition ... Copying '/dev/da0s2a' to '/dev/da1s1a' .. (this may take a few minutes) Copying '/dev/da0s3e' to '/dev/da1s3e' .. (this may take a few minutes) Copying '/dev/da0s2f' to '/dev/da1s1f' .. (this may take a few minutes) The following filesystems were archived: / /config /var