Introduction Creating a Text Configuration file
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
1-132
RESTORE DATABASE FILE (SEC)
Syntax
RESTORE DATABASE FILE={sourcefile|unit:sourcefile|serverpath/
sourcefile} [{TFTP SERVER={ipaddress|hostname}|ZMODEM| FTP
SERVER={ipaddress|hostname} USER=userid PASSWORD=password}]
[FORCE]
Description Rewrites the configuration database with contents from a file transferred from an exter-
nal network server. While the data is transferred from the server, it is buffered in RAM
memory in the CFC and not written to the flash. If the transfer fails or is aborted, the
existing database is retained. If the file transfer is successful, then the database in flash
memory is automatically purged and rewritten with the new contents. Once the flash
memory write completes, the CFC automatically restarts to apply the updates from the
database. * This command impacts service if completed successfully * User warning con-
firmation is required unless overridden with the FORCE option.
Options The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example RESTORE DATABASE FILE D104_17July2010.db TFTP SERVER
10.52.65.42
WARNING: Restoring the database will also reboot the CFC and may cause the system
to become inaccessible. Continue (Y/N)? y
Command has been submitted
Info (033754): Database restore submitted with transfer ID: 7
Info (033755): Database restore succeeded; automatically rebooting...
User Access Verification
Option Description Default Value
FILE The filename identifying the database file that is located
either on the CFC SD card or on the server that is des-
ignated by the path.
TFTP SERVER The ip address or name of the tftp server.
ZMODEM Specifies the file should be transferred using the ZMO-
DEM protocol.
FTP SERVER The ip address or name of the tftp server.
USER The user id to gain access to the specified server.
PASSWORD The password needed after entering the user id to gain
access to the specified server
FORCE Overrides the user confirmation.