Step 7: Back Up the Currently Running and Active File System
Action
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 upgrade, use the following JUNOS CLI operational mode command:
user@host>request system snapshotSample Output
user@host>request system snapshotumount: /altroot: not currently mountedCopying / to /altroot.. (this may take a few minutes)umount: /altconfig: not currently mountedCopying /config to /altconfig.. (this may take a few minutes)The following filesystems were archived: / /configWhat It Means
The root file system is backed up to
/altroot, and/configis backed up to/altconfig. The root and/configfile systems are on the router's internal flash drive, and the/altrootand/altconfigfile systems are on the router's hard drive.
NOTE: After you issue the
request system snapshotcommand, you cannot return to the previous version of the software because the running and backup copies of the software are identical.