Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    OBSOLETE request system snapshot

    Syntax

    request system snapshot
    <config-partition>
    <media>
    <partition>
    <root-partition>
    slice alternate

    Release Information

    Command introduced in Junos OS Release 11.3 for the QFX Series.

    Command introduced in Junos OS Release 14.1X53-D20 for the OCX 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.

    Note: System snapshot is not supported on QFX10000 switches.

    Options

    noneCreate 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.
    config-partition(Optional) Create a snapshot of the configuration partition only and store it onto the default /altconfig on the hard disk device or an /altconfig on a USB device.
    media type(Optional) Specify the boot device the software is copied to:
    • compact-flash—Copy software to the primary compact flash drive.

    • external—Copy software to an external mass storage device, such as a USB flash drive. If a USB drive is not connected, the switch displays an error message.

    • internal—Copy software to an internal flash drive.

    • removable-compact-flash—Copy software to the removable compact flash drive.

    partition(Optional) Partition the destination media before copying over the snapshot.
    root-partition(Optional) Create a snapshot of the root partition only and store it onto the default /altroot on the hard disk device or an /altroot on a USB device.
    slice alternate(Optional) Take a snapshot of the active root partition and copy it to the alternate slice on the boot media.

    Required Privilege Level

    view

    List of Sample Output

    request system snapshot partition

    Sample 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
    

    Modified: 2018-05-11