Cisco Headend System Release 2.5 User Guide

Page of 64
3-10 
Backing Up and Restoring the Informix Database 
4001155 Rev B 
Restore the Informix Database,
 Continued 
Database Restore Script Options 
The script that backs up the databases is called restoreDatabase. You can run the 
restoreDatabase script with the following options: 
• 
-l— local-tape-drive. Specifies tape drive to use on local host  
(e.g. -- /dev/rmt/0h) 
• 
-r remote-tape-drive. Specifies tape drive on a remote host  
(e.g. – sparky: /dev/rmt/0h or 192.168.1.10: /dev/rmt/0h) 
• 
-check-database— Checks the integrity of the databases (Does not fix if errors are 
found) 
• 
-verbose—Verbose output 
 
Restoring the Informix Database Using One Backup Tape 
Follow these instructions to restore the Informix database using one backup tape. 
Note:  You need the tape from your most recent database backup in order to restore 
the Informix database. 
Important:  Be sure your tape is write-protected before you use it to restore the 
database. 
 
1.    If necessary, follow the procedures in Appendix A, Stopping System 
Components, to stop Spectrum, the Application Server, and the DNCS. 
2.    If necessary, open an xterm window on the DNCS. 
3.    Type su  - and then press Enter to log in as root user. 
Note:  Be sure to type the single dash after typing su. 
Result:  The password prompt appears. 
4.    Type the root password and then press Enter
5.    Have you just restored the DNCS file system? 
• 
If yes, follow these instructions. 
a)  Type .  /dvs/dncs/bin/dncsSetup and then press Enter
Important:  Be sure to type the dot prior to typing /dvs. 
Result:  The system establishes the root user environment. 
b)  Type /export/home/informix/bin/formatDbSpace.sh and then press 
Enter
Result:  The system formats the database partitions. 
• 
If no, go to step 6.