Before upgrading, be sure to back up the currently running and active file system and configuration so that you can recover to a known, stable environment in case the upgrade is unsuccessful. To back up the file system, you must have a removable compact flash disk installed on a J4300, J4350, J6300 or J6350 Services Router, or a USB drive installed on any J-series Services Router. The backup device must have a storage capacity of at least 256 MB.
To back up the file system to the removable compact flash disk, issue the following command:
- user@host> request system snapshot media removable-compact-flash
To back up the file system to the removable USB drive, issue the following command:
- user@host> request system snapshot media usb
Before installing the software upgrade, issue the following command, which frees storage by rotating noncurrent log files in /var/log , deleting files in /var/tmp that have not been modified in two days, and deleting all crash files in /var/crash:
- user@host> request system storage cleanup
Before deleting the files, you can view the files to be deleted by issuing the following command:
- user@host> request system storage cleanup
dry-run