backup

Creates an archive of switch system files and optionally, user file, in Unix tape archive (tar) format.

Syntax: backup system [tftp:/ip-addr/]filename[all critical]

[tftp:/ip-addr/]filename

Name of the archive file to create. You can store the file locally in the

 

switch’s nonvolatile storage or on a TFTP server.

all

Backs up system files and all the files in the user files area.

 

The user files area contains the set of files listed in the file section of

 

dir command output.

critical

Backs up system files only, including the configuration file used when

 

booting, and certificate files. The size of an archive created by this

 

option is generally 1MB or less.

Defaults: The default is all.

Access: Enabled.

Usage: You can create an archive located on a TFTP server or in the switch’s nonvolatile storage. 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 switch.

Use the critical option if you want to back up or restore only the system-critical files required to operate and communicate with the switch. 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 32MB. 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’s output.) If the running configuration contains changes that have not been saved, these changes are not in the boot configuration file and are not archived. To make sure the archive contains the configuration that is currently running on the switch, use the save config command to save the running configuration to the boot configuration file, before using the backup command.

D-Link DWS-1008 CLI Manual

287

Page 290
Image 290
D-Link dws-1008 manual Backup, Syntax backup system tftp/ip-addr/filenameall critical, Dir command output, Critical