Back Up the Currently Running and Active File System
To back up the currently running and active file system so that you can recover to a known, stable environment in case there is a problem during the reinstall, use the following operational mode command:
Sample Output
user@host> request system snapshot
umount: /altroot: not currently mounted Copying / to /altroot.. (this may take a few minutes) umount: /altconfig: not currently mounted Copying /config to /altconfig.. (this may take a few minutes) The following filesystems were archived: / /config
Meaning
On devices running Junos OS, this command backs up the root file system to /altroot, and /config is backed up to /altconfig. The root and /config file systems are on the router’s internal flash drive, and the /altroot and /altconfig file systems are on the router’s hard drive.
On devices running Junos OS Evolved, this command only copies
the contents of the /soft
directory,
which includes the running version of Junos OS Evolved.
After you issue 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.