Operation Manual
File Management Commands
Mobility System Software Command Reference Guide
Version 7.3
21 – 484
Defaults
The default is all.
Access
Enabled.
History
Introduced in MSS Version 3.2.
Usage
You can create an archive located on a TFTP server or in the nonvolatile storage of the
MX. If you specify a TFTP server as part of the filename, the archive is copied directly to the TFTP
server and not stored locally on the MX.
Use the critical option if you want to back up or restore only the system-critical files required to
operate and communicate with the MX. Use the all option if you also want to back up or restore
WebAAA 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 all option.
Neither option archives image files or any other files listed in the Boot section of dir command
output. The all option archives image files only if they are present in the user files area.
Archive files created by the all option are larger than files created by the critical option. The file
size depends on the files in the user area, and the file can be quite large if the user area contains
image files.
The backup command places the boot configuration file into the archive. (The boot configuration
file is the Configured boot configuration in the show boot command output.) If the running
configuration contains unsaved changes, these changes are not in the boot configuration file and
are not archived. To make sure the archive contains the configuration currently running on the
MX, use the save config command to save the running configuration to the boot configuration
file, before using the backup command.
Examples
The following command creates an archive of the system-critical files and copies the
archive directly to a TFTP server. The filename in this example includes a TFTP server IP
address, so the archive is not stored locally on the switch.
MX# backup system tftp:/10.10.20.9/sysa_bak critical
success: sent 28263 bytes in 0.324 seconds [ 87231 bytes/sec]
See Also
● dir on page 488
● restore on page 494
clear boot backup-configuration
Clears the filename specified as the backup configuration file. In the event that MSS cannot read
the configuration file at boot time, a backup configuration file is not used.
Syntax
clear boot backup-configuration
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 4.1.
Examples
The following command clears the name specified as the backup configuration file from
the configuration of the MX:
MX# clear boot backup-configuration
success: Backup boot config filename was cleared.