Managing system files 663Nortel WLAN—Security Switch 2300 Series Configuration Guidefiles do not match, WSS Software does not restart the WSS but instead displays a message advising you toeither save the configuration changes or use the force option.Backing up and restoring the systemWSS Software has commands that enable you to easily backup and restore WSS system and user files:backup system [tftp:/ip-addr/]filename [all | critical]restore system [tftp:/ip-addr/]filename [all | critical] [force]The backup command creates an archive in Unix tape archive (tar) format.The restore command unzips an archive created by the backup command and copies the files from the archiveonto the switch. If a file in the archive has a counterpart on the switch, the archive version of the file replacesthe file on the switch. The restore command does not delete files that do not have counterparts in the archive.For example, the command does not completely replace the user files area. Instead, files in the archive areadded to the user files area. A file in the user area is replaced only if the archive contains a file with the samename.You can create or unzip an archive located on a TFTP server or in the switch’s nonvolatile storage. If youspecify a TFTP server as part of the filename with the backup command, the archive is copied directly to theTFTP server and not stored locally on the switch.Both commands have options to specify the types of files you want to back up and restore:• critical—Backs up or restores system files, including the configuration file used when booting, andcertificate files. The size of an archive created by this option is generally 1MB or less. This is the defaultfor the restore command.• all—Backs up or restores the same files as the critical option, and all files in the user files area ofnonvolatile storage. (The user files area contains the set of files listed in the file section of dir commandoutput.) Archive files created by the all option are larger than files created by the critical option. The filesize depends on the files in the user area, and the file can be quite large if the user area contains imagefiles. This is the default for the backup command.Use the critical option if you want to back up or restore only the system-critical files required to operate andcommunicate with the switch. Use the all option if you also want to back up or restore Web-based AAA pages,backup configuration files, image files, and any other files stored in the user files area of nonvolatile storage.The maximum supported file size is 32 MB. If the file size of the tarball is too large, delete unnecessary files(such as unneeded copies of system image files) and try again, or use the critical option instead of the alloption.Neither option archives image files or any other files listed in the Boot section of dir command output. The alloption archives image files only if they are present in the user files area.Note. If the archive’s files cannot fit on the switch, the restore operation fails.Nortel recommends deleting unneeded image files before creating or restoring anarchive.