Cisco Headend System Release 2.7 User Guide

Page of 78
 
 
Restore the Informix Database 
4013779 Rev C 
39 
 
Restoring the Informix Database Using More Than One Backup Tape 
Complete the following steps to restore the DNCS and Application Server databases 
using more than one backup tape. 
Note:  You need the tapes from your most recent database backup in order to restore 
the Informix database. 
Important:  Be sure your tapes are write-protected before you use them to restore the 
database. 
1  If necessary, follow the procedures in 
Stopping System Components (on page 57) 
to stop Spectrum, the Application Server, and the DNCS. 
2  If necessary, open an xterm window on the DNCS. 
3  Complete the following steps to log on to the xterm window as root user. 
a  Type su - and press Enter. The password prompt appears. 
b  Type the root password and press Enter
4  Have you just restored the DNCS file system? 
 
If yes, go to step 5. 
 
If no, go to step 6. 
5  Complete the following steps. (You have just restored the DNCS file system.) 
a  Type .  /dvs/dncs/bin/dncsSetup and then press Enter. The system 
establishes the root user environment. 
Important:  Be sure to type the dot, followed by a space, prior to typing /dvs. 
b  Type /export/home/informix/bin/formatDbSpace.sh and then press Enter
The system formats the database partitions. 
6  Insert the CD labeled DBDS Maintenance CD into the CD drive of the DNCS. 
7  Type df  -n and then press Enter. A list of the mounted filesystems appears. 
Note:  The presence of /cdrom in the output confirms that the system correctly 
mounted the CD. 
8  Type  /cdrom/cdrom0/s3/backup_restore/restoreDatabase  -v and then press 
Enter
9  When the Is there more than 1 tape in this backup? [Y/N] message appears, type 
y and then press Enter. The system displays a message about ensuring that the 
last backup tape is in the tape drive. 
Note:  You are instructed to load the last tape because a configuration file is 
appended to the final tape in the backup series during the backup procedure. 
10  Insert the last tape from your most recent database backup and press Enter
Results: 
 
The system examines the configuration file. 
 
The system displays a message similar to the following: 
Please mount tape 1 on [device name] and press Return to continue.