auto-snapshot
Syntax
auto-snapshot;
Hierarchy Level
[edit system]
Description
Enable the automatic snapshot feature, which allows the device to automatically fix a corrupt Junos OS file in the primary root partition. If the automatic snapshot feature is enabled, the device automatically takes a snapshot of the Junos OS root file system in the alternate root partition and copies it onto the primary root partition, thereby repairing the corrupt file in the primary root partition. The automatic snapshot procedure takes place whenever the system reboots from the alternate root partition, regardless of whether the reboot is due to a command or due to corruption of the primary root partition.
EX9200 devices do not support the automatic snapshot feature.
Default
The automatic snapshot feature is enabled by default on the following EX Series devices:
EX4550 devices
EX Series devices that ship with Junos OS Release 12.3R1 or later
The automatic snapshot feature is disabled by default on EX Series devices (except the EX4550 devices) running Junos OS Release 12.2 or earlier.
If the automatic snapshot feature was disabled by default before the device was upgraded to Junos OS Release 12.3R1 or later, the feature remains disabled (for backward compatibility) by default after the upgrade.
By default, the auto-snapshot feature is disabled on SRX300, SRX320, SRX340, SRX345, SRX380, and SRX550M devices.
Required Privilege Level
system—To view this statement in the configuration.system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 12.3.