Cisco Headend System Release 2.7 Installation Guide

Page of 188
 
Appendix C 
Backup and Restore the DTACS File System and Database 
170 
78-4036705-01 Rev D 
Restore the DTACS Database 
This section contains information that guides you through the process of restoring 
the DTACS database. 
 
Database Restore Script Options 
The script that restores the databases is called restoreDatabase. You can run the 
restoreDatabase script with the following options: 
 
-l - Local-tape-drive. Specifies the tape drive to use on the local host. 
(for example - /dev/rmt/0h) 
 
-r - Remote-tape-drive. Specifies a 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.) 
 
-v - verbose. Verbose output. 
 
-p - physical-restore. Performs only a physical restoration of the database and 
does not restore the logical logs. 
 
-i - interactive. Runs the restoration in interactive mode. 
 
-h - help. Provides a brief description of the valid options. 
 
Restoring the DTACS Database 
Complete the following steps to restore the DTACS databases. 
Note: You need the tape from your most recent database backup in order to restore 
the DTACS database. 
Important: Be sure your tape is write-protected before you use it to restore the 
database. 
1  As dtacs user (sux - dtacs), type dtacsStop and press Enter. The DTACS 
processes are stopped. 
2  If necessary, open an xterm window on the DNCS. 
3  As root user, type . /dvs/dtacs/bin/dtacsSetup and press Enter. The system 
established the root user environment. 
Important: Be sure to type the dot, followed by a space, prior to typing /dvs. 
4  Insert the DTACS Maintenance DVD into the DVD drive of the DTACS server. 
5  Type /export/home/informix/bin/formatDbSpace.sh and press Enter to format 
the database partitions.