Cisco Headend System Release 2.5 User Guide

Page of 64
C-4 
Setting Up an Automated Database Backup 
4001155 Rev B 
Configure the DNCS for an Automatic Database Backup,
 Continued 
 
4. 
Add the following lines to the end of root.crontab: 
#cron to automatically back up the database 
0  2  *  *  *  (.  /dvs/dncs/bin/dncsSetup;  /dvs/dncs/bin/noinputDbBackup.sh) 
Note:  This command will back up the DNCS database at 2 AM everyday. To 
learn more about the various fields in the command you just entered, type 
man  crontab and then press Enter at an xterm window on the DNCS. 
5. 
Save the file and exit the vi editor. 
6. 
Type crontab  /tmp/root.crontab and then press Enter
Result:  The system automatically backs up your DNCS database everyday. 
 
Important Notes to the System Operator 
The system will eject the tape after each backup. Remember to insert a blank tape 
into the tape drive of the DNCS each day. Cisco recommends that you store your 
daily tapes offsite to protect against loss or damage.