Руководство По Установке для Cisco Headend Digital Broadband Delivery System
Configure the Database and Key Files Backup cron Script
OL-27573-01
35
Configure the Database and Key Files Backup
cron Script
1 Use a text editor to open the /usr/local/backup_restore/DBKFcron.sh file.
2 Insert the path to your backups storage area into the 'nfspath' variable.
3 Insert the hostname of your server into the 'your iDNCS' variable, or use the
2 Insert the path to your backups storage area into the 'nfspath' variable.
3 Insert the hostname of your server into the 'your iDNCS' variable, or use the
default.
Note: The your iDNCS variable is set to 'uname -n'. This will set the your iDNCS
variable to the current hostname of the system. You may leave it set this way or
change it to a name of your choice.
Note: The your iDNCS variable is set to 'uname -n'. This will set the your iDNCS
variable to the current hostname of the system. You may leave it set this way or
change it to a name of your choice.
4 Insert the number of backups to maintain into the 'num_to_keep' variable, or use
the default.
5 Save and close the file.
Result: This results in backups written to
/<path_to_storage>/<hostname>/DBKF/DBKF-#.tar, where '#' is the backup
number. At most, 'num_to_keep' backups will be stored. When that number is
reached, older backups are deleted.
Result: This results in backups written to
/<path_to_storage>/<hostname>/DBKF/DBKF-#.tar, where '#' is the backup
number. At most, 'num_to_keep' backups will be stored. When that number is
reached, older backups are deleted.