Cisco Cisco Transport Manager 9.0 Troubleshooting Guide
3
Understanding the Cisco Transport Manager Patch Process
OL-15584-01
Back Up the CTM Server
Verify the Disk Space for the Backup
Enter the following command to verify that your backup directory has enough disk space to hold a
backup:
backup:
# df -k
The default backup directory is /ctm_backup. You might have to delete the oldest backup to make room
for the new backup.
for the new backup.
Back Up and Restore the Database When the CTM ARCHIVELOG Mode Is
Enabled
Enabled
To perform a hot database backup, enter the following commands at the UNIX prompt:
# cd /opt/CiscoTransportManagerServer/bin
# ./backupdb.sh
The hot backup log file is saved under /{oraclesw9i | oracle}/admin/<ORACLE_SID>/udump/
backup_db.log. The log file contains a list of all files that have been backed up. The default Oracle SID
is CTM.
backup_db.log. The log file contains a list of all files that have been backed up. The default Oracle SID
is CTM.
If you need to restore the database from a hot backup, enter the following commands at the UNIX
prompt:
prompt:
# cd /opt/CiscoTransportManagerServer/bin
# ./restore_db.sh <backup_file_location> <log_directory>
Note
The default backup file location is /ctm_backup.
Export and Import the Database When the CTM ARCHIVELOG Mode Is Not
Enabled
Enabled
If CTM ARCHIVELOG mode is not enabled, you cannot perform a hot backup. Enter the following
commands to stop CTM and export the CTM database:
commands to stop CTM and export the CTM database:
# ctms-stop
# cd /opt/CiscoTransportManagerServer/bin
# ./export_full_db.sh
If necessary, complete the following steps to import the exported database from an export dump:
Step 1
Insert the CTM Server Disk 1 installation CD.
Step 2
Disconnect all of the CTM clients and enter the following command to shut down the CTM server, if it
is running:
is running:
# ctms-stop
Step 3
Enter the following commands to import the database, where the default backup file location is
/ctm_backup:
/ctm_backup: