Cisco Headend System Release 2.5 User Guide

Page of 64
4001155 Rev B 
Backing Up and Restoring the DNCS and Application Server 
4-7 
Back Up the DNCS or Application Server Key Files 
Overview 
Consider the following points about a backup of the DNCS or Application Server 
key files. 
Recommended Frequency 
The key files consist of those files required to boot the DNCS or Application Server. 
The script that backs up the file system also backs up the key files. For this reason, 
system operators need to back up the key files only when preparing for a system 
upgrade. 
Backup Script Options 
The script that backs up the DNCS and Application Server key files is called 
backupKeyFiles. You can run the backupKeyFiles script with the following options: 
• 
-I—key_files_include. Specifies the file that lists all the files that need to be 
included in the backup 
• 
-E—key_files_exclude. Specifies the file that lists all the files that need to be 
excluded from the backup 
• 
-l— local-tape-drive. Specifies tape drive to use on local host computer 
(for example – /dev/rmt/0h) 
• 
-r remote-tape-drive. Specifies tape drive on a remote host computer  
(for example – sparky:/dev/rmt/0h or 192.168.1.10:/dev/rmt/0h) 
• 
-B—Backup_Directory. Specifies the backup directory to which the key files 
should be saved (in tar format) 
Important:  The system creates a file named KeyFiles.tar in the specified directory. 
If you wish to back up both the DNCS and the Application Server key files at the 
same time, be sure to specify different directories for both sets of key files, or one 
backup will overwrite the other. 
• 
-verbose—Verbose output 
Notes:   
• 
The –I and –E options are independent of one another; any one of them may be 
used. If neither the –I or –E option is specified, then the default Keyfiles.include or 
Keyfiles.exclude files, which exist in the current directory, are used. 
• 
If either the –I or –E option is included, the absolute path must be specified. 
• 
The –l and –r options are mutually exclusive of one another; only one of them can 
be used. 
• 
The –B option cannot be used if either the –l or –r option is used.