Supported Platforms
Related Documentation
request system snapshot (ACX Series)
Syntax
Release Information
Command introduced in Junos OS Release 12.2 for ACX Series Routers.
Description
On the router, take a snapshot of the files currently used to run the router—the complete contents of the root (/) and /config directories, which include the running Junos OS and the active configuration.
![]() | 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 | — | Back up the currently running software and configuration by copying the root (/) and /config directories—the snapshot—to the media that the router did not boot from. If the router booted from internal media, the snapshot is copied to an external universal serial bus (USB) storage media. If the router booted from external USB media, the snapshot is copied to the active slice of the internal media—da0s1 or da0s2. (If the snapshot destination is external media but a USB flash drive is not connected, an error message is displayed.) |
partition | — | (Optional) Repartition the flash drive or the USB media before a snapshot occurs. If the partition table on the flash drive is corrupted, the request system snapshot partition command fails and reports errors. |
slice alternate | — | (Optional) Take a snapshot of the active slice and copy it to the alternate slice on the boot media. |
Required Privilege Level
maintenance
Related Documentation
List of Sample Output
request system snapshotrequest system snapshot partition (USB Storage Device)
request system snapshot partition (Active Slice of the NAND Flash Device)
request system snapshot partition slice alternate
request system snapshot slice alternate
Sample Output
request system snapshot
user@host> request system snapshot
Verifying compatibility of destination media partitions... Running newfs (254MB) on usb media / partition (da1s1a)... Running newfs (47MB) on usb media /config partition (da1s1e)... Copying '/dev/da0s2a' to '/dev/da1s1a' .. (this may take a few minutes) Copying '/dev/da0s2e' to '/dev/da1s1e' .. (this may take a few minutes) The following filesystems were archived: / /config
request system snapshot partition (USB Storage Device)
user@host> request system snapshot partition
Clearing current label... Partitioning usb media (da1) ... Partitions on snapshot: Partition Mountpoint Size Snapshot argument a / 312MB root-size e /config 47MB config-size f /var 620MB var-size Running newfs (312MB) on usb media / partition (da1s1a)... Running newfs (47MB) on usb media /config partition (da1s1e)... Running newfs (620MB) on usb media /var partition (da1s1f)... Copying '/dev/da0s2a' to '/dev/da1s1a' .. (this may take a few minutes) Copying '/dev/da0s2e' to '/dev/da1s1e' .. (this may take a few minutes) The following filesystems were archived: / /config
request system snapshot partition (Active Slice of the NAND Flash Device)
user@host> request system snapshot partition
Verifying compatibility of destination media partitions... Running newfs (439MB) on internal media / partition (da0s1a)... Running newfs (46MB) on internal media /config partition (da0s1e)... Copying '/dev/da1s1a' to '/dev/da0s1a' .. (this may take a few minutes) Copying '/dev/da1s1e' to '/dev/da0s1e' .. (this may take a few minutes) The following filesystems were archived: / /config
request system snapshot partition slice alternate
user@host> request system snapshot partition
slice alternate
Verifying compatibility of destination media partitions... Running newfs (439MB) on internal media / partition (da0s1a)... Running newfs (46MB) on internal media /config partition (da0s1e)... Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes) Copying '/dev/da0s2e' to '/dev/da0s1e' .. (this may take a few minutes) The following filesystems were archived: / /config
request system snapshot slice alternate
user@host> request system snapshot slice alternate
Verifying compatibility of destination media partitions... Running newfs (439MB) on internal media / partition (da0s1a)... Running newfs (46MB) on internal media /config partition (da0s1e)... Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes) Copying '/dev/da0s2e' to '/dev/da0s1e' .. (this may take a few minutes) The following filesystems were archived: / /config