6.5.1 Backing up configurations
Using the copy operation command, you can back up a configuration to a remote server or to the Switch itself. Note that when saving a backup configuration file to the Switch, you cannot specify the directory for the startup configuration file (/config). Create your own backup configuration files in your home directory.
You can back up both the startup configuration and running configuration. If you change a configuration entry during operation but do not save the changes, the contents of the backed-up configuration file (startup configuration) will differ from the running configuration. The following figures show examples of backing up the startup and running configurations.
> enable # copy startup-config ftp://staff@192.168.0.1/backup.cnf Configuration file copy to ftp://staff@192.168.0.1/backup.cnf? (y/n): y Authentication for 192.168.0.1. User: staff Password: xxx ..1 transferring.. Data transfer succeeded. # |
-
Enter the password stored on the remote server for the user account staff.
> enable # copy running-config ftp://staff@192.168.0.1/backup.cnf Configuration file copy to ftp://staff@192.168.0.1/backup.cnf? (y/n): y Authentication for 192.168.0.1. User: staff Password: xxx ..1 transferring.. Data transfer succeeded. # |
-
Enter the password stored on the remote server for the user account staff.