The default directories where the database file is backed up are as follows.
l On the UNIX platform, the MO data is backed up to /T2000/server/database/
dbbackup.
l On the Windows platform, the MO data is backed up to \T2000\server\database
\dbbackup.
Precautions
The method of restoring the system data from the backed up MO data is not applicable to upgrade of the T2000. In the case of upgrade of the T2000, import and export scripts to store the system data.
Procedure
Step 1 Start the Database Management Tool.
NOTE
l On the UNIX platform, right-click on the common desktop environment (CDE) and then choose
Tools > Terminal to display a terminal window. In the /T2000/server/database directory, run
"T2000DM.sh" to display the Database Management Tool window.
l On the Windows platform, open Windows Explorer. In the \T2000\server\database directory, run "T2000DM.exe". The T2000DM.exe window appears and then immediately disappears, and the
Database Management Tool window displays.
Step 2 In Database Server List on the left, select T2000DBServer. Step 3 In the displayed dialog box, enter the password of user sa.
NOTE
By default, the password of user sa is null.
Step 5 Set the backup directory on the server, and enter the relevant description information. Click Backup to display the Back Up MO dialog box. In this case, the backup of the MO data of the T2000 is started.
NOTE
l If the customized directory of data backup is not disk C, you can avoid the effect on the backup data when you reinstall the system or format disk C, so that the maintainability of the system is improved.
l The backup directory should be short and should not contain special characters, such as spaces, punctuation, and Chinese characters.
Step 6 Click OK in the dialog box. Return to the Database Management Tool window. ----End
4.1.3 Backing Up All Data in the T2000 Database
This section describes how to use the database management tool to immediately back up the T2000 database to the local server, and thus to quickly restore the data when the database is faulty.
Prerequisite
l On the UNIX platform, the current user must be a root user, and the Sybase database must
be started.
l On the Windows platform, the current user must have the administrator authority of the
operating system. The MS SQL server database must be started.
Procedure
Step 1 Start the Database Management Tool.
l On the UNIX platform, right-click the common desktop environment (CDE) and choose
Tools > Terminal to display a terminal window. In the /T2000/server/database directory, run "T2000DM.sh" to display the Database Management Tool window.
l On the Windows platform, open Windows Explorer. In the \T2000\server\database
directory, run "T2000DM.exe". The T2000DM.exe window appears and then immediately disappears, and the Database Management Tool window displays.
Step 2 In the Database Server List on the left, select T2000DBServer. Step 3 In the dialog box displayed, enter the password of user sa.
NOTE
By default, the password of user sa is null.
Step 4 Click Backup Database to display the Description dialog box. Step 5 Enter the path and a description of the database backup.
NOTE
l By customizing the backup directory of the data, you can prevent the impact on the backup data when you re-install the system or format disk C, thus improving the maintainability of the system.
l Ensure that the backup directory is short and contains no space, punctuation, or Chinese character.
Step 7 When the backup is complete, click OK in the displayed indication dialog box and return to the database management tool interface.
----End
4.1.4 Backing Up the T2000 Network Configuration Data by Means
of Scripts
Before upgrading the T2000, export the data stored in the T2000 databases and save the data as a script file.
Prerequisite
l The T2000 user must log in and display the Main Topology interface. l You must be a T2000 user with "NM administrator" authority or higher.
l Before exporting the script file, check the consistency of the configuration data to ensure
data consistency between the T2000 and the NEs. For specific operations, see 8.7 Checking Data Consistency Between an NE and the T2000.
Procedure
Step 1 Choose System > Import/Export Script File from the Main Menu and the Import/Export Script File window is displayed.
Step 2 Select the file format, click Export and then select the script file type in Script File Type.
NOTE
l For types of exported script files, see Table 4-1 in 4.1.1 Methods of Backing Up and Restoring the T2000 Data.
l To export a script containing networkwide configuration data, select Networkwide Configuration
File. The files exported to the specified directory are as follows:
l Networkwide Configuration File "NGCfg_NM name.txt"
l NE List File "NWNeList_NM name.txt"
l NE Port Naming File "NEPort_extended ID-basic ID_NE name.txt"
l NE Configuration File "NEData_extended ID-basic ID_NE name.txt"
Step 3 Select the NE for which you want to export script files from the Export NE List on the left.
NOTE
Specify the NEs for exporting NE Configuration File, NE List File, NE Port Naming File, and
Networkwide Configuration File.
Step 4 Click Create File Directory to create a directory to save the exported script files.
Step 5 Input the name of the newly created directory and click OK. The newly created directory will be displayed automatically in the Operation Directory List area.
NOTE
The script files are saved on the T2000 server. For the Windows platform, the script files are backed up to
\T2000\server\script. For the UNIX platform, the script files are backed up to /T2000/server/script. For
both cases, the user can create sub-folders further.
Step 6 Select a directory and click Apply.
Step 7 Click OK in the displayed Confirm dialog box. A progress bar appears, indicating the progress of exporting script files.
----End
4.1.5 Restoring the MO Data of the T2000
This section describes how to restore the MO data of the T2000.
Prerequisite
l The T2000 MO data must be backed up. l The T2000 server must be shut down.
l On the UNIX platform, the current user must be root, and the Sybase database must be
started.
l On the Windows platform, the current user must have the authority of administrator of the
operating system. The MS SQL server database must be started.
l The T2000 database must be initialized. The software of the T2000 server must be started
up and then shut down.
Context
CAUTION
In the case of the MO data to be restored, the T2000 versions must be consistent.
NOTE
The default directories where the database file should be backed up are as follows.
l On the UNIX platform, back up the MO data to /T2000/server/database/dbbackup.
l On the Windows platform, if the T2000 server is installed in disk C, back up the MO data to C:
\T2000\server\database\dbbackup.
Procedure
Step 1 Start Database Management Tool.
l On the UNIX platform, right-click on the common desktop environment (CDE) and then choose Tools > Terminal to display a terminal window. In the /T2000/server/database directory, run "T2000DM.sh".
l On the Windows platform, open Windows Explorer. In the \T2000\server\database directory, run "T2000DM.exe".
Step 3 In the displayed dialog box, enter the password of user sa.
NOTE
By default, the password of user sa is null.
Step 4 Click Restore MO to display the Select MO dialog box.
Step 5 Specify the directory where the MO data to be restored should be saved. Click Restore and click Yes in the displayed Confirm dialog box to restore the MO data of the T2000.
Step 6 When the restoration is complete, click OK in the Restore MO dialog box and return to the database management tool interface.
----End
4.1.6 Restoring All Data of the T2000 Databases
This section describes how to restore the data stored in the T2000 databases backed up before by using the database management tool.
Prerequisite
l The T2000 MO data must be backed up. l The T2000 server must be shut down.
l On the UNIX platform, the current user must be root, and the Sybase database must be
started.
l On the Windows platform, the current user must have the authority of administrator of the
operating system. The MS SQL server database must be started.
Context
CAUTION
In the case of the data restoration, the T2000 versions must be consistent.
Procedure
Step 1 Start The Database Management Tool.
l On the UNIX platform, right-click on the common desktop environment (CDE) and then choose Tools > Terminal to display a terminal window. In the /T2000/server/database directory, run "T2000DM.sh".
l On the Windows platform, open Windows Explorer. In the \T2000\server\database directory, run "T2000DM.exe".
Step 2 In the Database Server List on the left, select T2000DBServer. Step 3 In the displayed dialog box, enter the password of user sa.
NOTE
Step 4 Click Restore Database to specify the directory where the database file is backed up. Step 5 Click Restore and click Yes in the displayed Confirm dialog box to restore the database data
of the T2000.
Step 6 When the restoration is complete, click OK in the Restore Database dialog box and return to the Database Management Tool interface.
----End
4.1.7 Restoring the T2000 Network Configuration Data by Means of
Scripts
When upgrade of the T2000 software is complete, restore the network configuration data from the backup script files.
Prerequisite
l The T2000 user must log in and display the Main Topology interface. l You must be a T2000 user with "NM administrator" authority or higher. l You must have the license for the T2000 script import.
Precautions
CAUTION
Before importing the script file, back up the T2000 database or the T2000 MO data. Then, initialize the T2000 database. Finally, import the networkwide configuration script file. If importing the script files fails, restore the data from the backup database or MO data.
Procedure
Step 1 Choose System > Import/Export Script File from the Main Menu.
Step 2 Select the file format, click Import and then select the script file type in Script File Type.
NOTE
Service Actualization Script and NM Computer Information File cannot be imported.
Step 3 In Operation Directory List, select the directory where the script file for importing is located. Step 4 Select the script file to be imported from Import File List.
Step 5 Click Apply. The system prompts twice that importing the script files causes data inconsistency between the T2000 and NE.
NOTE
When the script files are imported, deliver the configuration data from the T2000 to the NE for data consistency. For specific operations, see Downloading NE Configuration Data.
Step 6 Click OK. A progress bar appears, indicating the progress of importing script files.
NOTE
The script files are saved on the T2000 server. For the Windows platform, the script files are backed up to
\T2000\server\script. For the UNIX platform, the script files are backed up to /T2000/server/script. For
both cases, the user can create sub-folders further.
----End
4.2 Backing Up and Restoring the NE Data
To ensure security of the NE data, back up and restore the NE data in a timely manner.
4.2.1 Methods of Backing Up and Restoring NE Data
Save important NE data during routine maintenance. In this way, if the system control board of the NE loses data or the equipment is powered off, the NE data can be restored for normal operation of the NE. This section describes certain methods of backing up and restoring NE data. Select a proper method as required.
4.2.2 Backing Up the NE Database to the System Control Board
During routine maintenance, back up the NE database for restoring data when the system control board loses data or the equipment power-off is unexpectable. To back up the NE database to the system control board is to back up the NE data to the flash of the system control board. When the NE restarts after a power failure, the system control board automatically reads the
configuration data from the flash and delivers the configuration data to other boards.
4.2.3 Backing Up the NE Database to the CF Card
During routine maintenance, back up the NE database for restoring data when the system control board loses data or the equipment power-off is unexpectable. You can back up the NE database to the CF card.
4.2.4 Backing Up the NE Database to a Local Server
To improve the security of the NE database and prevent the loss of the database files due to an NE fault, you need to back up the NE database. Periodic backup of the database files is recommended. You can back up the database files to NMS server or NMS client.
4.2.5 Restoring the NE Database from the System Control Board
If the database file is lost due to NE maintenance or an NE fault, you can restore the NE database from the backup database file on the system control board.
4.2.6 Restoring the NE Database from the CF Card
When the database file is lost due to NE maintenance or an NE fault, you can restore the NE database from the backup database file on the CF card of the system control board.
4.2.7 Recovering the NE Database from a Local Server
If the database file is lost due to NE maintenance or an NE fault, you can recover the NE database from the backup database file on the system control board.
4.2.1 Methods of Backing Up and Restoring NE Data
Save important NE data during routine maintenance. In this way, if the system control board of the NE loses data or the equipment is powered off, the NE data can be restored for normal
operation of the NE. This section describes certain methods of backing up and restoring NE data. Select a proper method as required.