Cisco Headend System Release 2.5 User Guide

Page of 64
3-4 
Backing Up and Restoring the Informix Database 
4001155 Rev B 
Back Up the Informix Database,
 Continued 
 
4. 
 
Examine your results and use the following observations, based upon the 
example used in step 3, to determine the device name of your tape drive. 
• 
In the example in step 3, no tape drives are detected in /dev/rmt/1 through 
/dev/rmt/7 (as indicated by No such file or directory). Therefore, you can 
conclude that /dev/rmt/1 through /dev/rmt/7 are not valid device names 
for tape drives on the system queried in step 3. 
• 
In the example in step 3, a tape drive is detected in /dev/rmt/0 and the 
system accurately notes that no tape is loaded. Therefore, you can conclude 
that the device name of the tape drive on the system queried in step 3 is 
/dev/rmt/0. 
• 
If /dev/rmt/1 is the device name of your tape drive, then no tape loaded or 
drive offline would appear next to /dev/rmt/1. 
5. 
 
Write the device name of your tape drive in the space provided. 
___________________________ 
Note:  You may need to refer to this device name in a leter procedure, 
Backing Up the Informix Database, or Restoring the Informix Database
 
Database Backup Script Options 
The script that backs up the databases is called backupDatabase. You can run the 
backupDatabase script with the following options: 
• 
-b— TAPEBLK. Specifies the block size of the tape device to which ontape writes 
during the database backup. 
Note:  The system uses a default tape block size of 32 if –b is not specified. 
• 
-s TAPESIZE. Specifies the size of the tape device to which ontape writes during 
the database backup. 
Note:  The system uses a default tape size of 7549747 if –s is not specified. 
• 
-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.) 
• 
-non-interactive— Non-interactive, useful when running from cron. 
• 
-verbose—Verbose output.