Cisco Headend System Release 2.5 Installation Guide

Page of 280
E-2 
Setting Up an Automated Database Backup 
78-738190-01 Rev B 
Configure the DNCS for an Automatic Database Backup 
Verifying the Tape Drive Device Name 
Before you configure your system for an automatic backup of the Informix database, 
confirm that the script that performs the backup uses the correct device name for the 
tape drive. Follow these instructions to confirm the correct device name. 
 
1. 
Insert a blank tape into the tape drive of the DNCS. 
2. 
Type mt  -f  /dev/rmt/0  offline and then press Enter
Important:  The ‘0’ in /dev/rmt/0 is zero. 
Result:  If you have installed the tape drive correctly, the tape will eject. 
3. 
Did the tape eject? 
• 
If yes, go to Editing the crontab, later in this appendix. 
Note:  The device name of your tape drive is correct because the tape 
ejected. 
• 
If no, go to step 4. 
4. 
Type the following UNIX routine. 
Important:  Type the routine just as shown by pressing Enter at the end of 
each line. 
for drive in 0 1 2 3 4 5 6 7 
do 
mt  -f  /dev/rmt/$drive  offline 
done 
Results:  
 
• 
The system tries to eject the tape using eight possible tape drive device 
names (/dev/rmt/0 through /dev/rmt/7). 
• 
The tape ejects when the UNIX routine reaches the correct device name. 
• 
The screen clearly shows which tape device name was used when the tape 
ejected. 
5. 
In the space provided, note the device name that was used when the tape 
ejected.   _______________________ 
6. 
Go to Edit the noinputDbBackup.sh File, next in this appendix.