Technical Documentation

Backing Up the Current Installation (M Series, MX Series, T Series, TX Matrix, and TX Matrix Plus Routers)

You should back up the current installation so that you can return to the current software installation. In a dual Routing Engine system, you need to back up both Routing Engines. This section covers the following:

The installation process using the installation package (jinstall*, for example) removes all stored files on the router except the juniper.conf and SSH files. Therefore, you should back up your current configuration in case you need to return to the current software installation after running the installation program.

To back up the JUNOS Software on the M Series, MX Series, T Series, TX Matrix, and TX Matrix Plus routers, issue the request system snapshot CLI operational command. This command saves the current software installation on the hard drive.

Note: On M Series, MX Series, T Series, TX Matrix, and TX Matrix Plus routers with dual Routing Engines, complete this operation on both Routing Engines. On routers without a CompactFlash card, where the hard drive is the primary boot device, you cannot back up your software installation.

When the request system snapshot command is issued, the /root file system is backed up to /altroot, and /config is backed up to /altconfig. The /root and /config file systems are on the router’s CompactFlash card, and the /altroot and /altconfig file systems are on the router’s hard disk. When the backup is completed, the current and backup software installations are identical.

To copy the files to the router’s hard disk, use the following command:

request system snapshot commanduser@host> request system snapshot

Published: 2010-04-28