Cisco Headend Digital Broadband Delivery System Guida Utente

Pagina di 152
 
 
Run the bkchk Utility 
4020694 Rev B 
23 
 
Run the bkchk Utility 
Introduction 
System operators can run the bkchk utility with the following options: 
 
-i - installs an entry for the bkchk utility in the crontab file of the DNCS. 
 
-t - displays the backup date associated with the tape in the tape drive. 
 
-h - displays a screen that shows all the options with which the bkchk utility can 
be run. 
 
-v - displays the version number of the bkchk utility on your system 
The procedures in this section guide you through the steps required to run the bkchk 
utility. 
 
Creating a crontab Entry 
Follow these instructions to configure your system to create an entry in the crontab 
file of the DNCS so that the system executes the bkchk utility automatically every 
day. 
1  If necessary, open an xterm window on the DNCS. 
2  Type bkchk.ksh  -i and then press Enter. The system creates an entry in the 
crontab file of the DNCS so that the bkchk utility executes every night at 11:45, 
Monday through Saturday. 
Note:  System operators can later edit the crontab file to change the time during 
which the system runs the bkchk utility. 
Important:  Do not attempt to edit the crontab file unless you are a skilled user of 
the UNIX vi text editor and have experience in editing the crontab file. Call Cisco 
Services for assistance. 
 
Confirming the Date on a Backup Tape 
System operators may occasionally have to restore a system using data from a 
previous day's backup tape. Because it is crucial that a system be restored using the 
correct data, system operators can use the bkchk utility with the -t option to confirm 
the date that a backup tape was made. Follow these instructions to confirm the date 
on a backup tape. 
1  Insert your backup tape into the tape drive of the DNCS. 
2  If necessary, open an xterm window on the DNCS.