Cisco Headend System Release 2.7 Guía Del Usuario

Descargar
Página de 78
 
Chapter 3    Backup Procedures 
 
 
 
18 
4013779 Rev C 
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 — Blocks. Specifies the block size of the tape device to which the database 
backup is written. 
Note:  If –b is not specified, the system uses a default tape block size appropriate 
for your tape drive. If the system is unable to determine your tape drive, the 
system uses 32. 
 
-s — Size. Specifies the size of the tape device to which the database backup is 
written. 
Note:  If –s is not specified, the system uses a default tape size appropriate for 
your tape drive. If the system is unable to determine your tape drive, the system 
uses 8000000. 
 
-l — Local-tape-drive. Specifies tape drive to use on local host.  
(for example — /dev/rmt/0h) 
 
-r — Remote-tape-drive. Specifies tape drive on a remote host. 
(for example — sparky: /dev/rmt/0h or 192.168.1.10: /dev/rmt/0h) 
 
-c — check-database. Checks the integrity of the databases. (Does not fix if errors 
are found.) 
 
-n — non-interactive. Non-interactive, useful when running from cron. 
 
-v — verbose. Verbose output. 
 
-h — help. Provides a brief description of the valid options. 
 
Backing Up the Informix Database 
Use this procedure to back up the DNCS and Application Server databases to the 
DNCS. 
Notes: 
 
The DNCS, the Application Server, and Spectrum can be running while you back 
up the Informix database. 
 
It may take up to 30 minutes to back up a typical database with approximately 
100,000 DHCTs. 
1  If necessary, open an xterm window on the DNCS. 
2  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
3  If necessary, insert the CD labeled DBDS Maintenance CD into the CD drive of 
the DNCS.