14.2.2 Backup and restore command procedures
- <Structure of this section>
(1) Backing Up Information
Create a backup by using the backup command at a time when the switch is running normally. The backup command places the information below, which is required for switch operation, in one file, and then saves the file to a memory card or external FTP server.
If you make any subsequent changes to the information, we recommend that you back it up again using the backup command.
-
Files for updating software to the version in current use
-
Software and Optional Licenses
-
Power mode
-
Startup configuration
-
User accounts and passwords
-
Host key pair of SSH servers
-
Internal Web certification DB
-
Web certification display
-
Server/private key/intermediate CA certificate for Web certification
-
Internal MAC certification DB
-
Switch DUID of IPv6 DHCP servers
-
Stack information file
-
Installed script file
Note that the backup command does not save the following information:
-
Operation log entries and other log entries displayed by the show logging command
-
Dump files and other error information saved internally
-
Files created or saved by a user in a home directory set for that user account
(2) Restoring Information
To recover from a backup file created with backup command, use restore command.
Restore command updates the instrument software using the software update files stored in the backup file. At completion, the Switch restarts automatically, and the restoration is continued.
Note the following points when you execute the restore command:
-
Restore the information from a backup file created on a switch that has the same model name as the Switch you are restoring the information to.
Check the Model name given in the result displayed by the show version command.
-
Make sure that the software version of the switch on which you take the backup is supported by the switch to which you are restoring the information.
-
Make sure that the user account set for the switch is the same as that included in the backup file (the user name and also the order of the user addition/deletion are the same). If the user accounts differ from each other, you will be unable to perform file operations after restoration.