support for daily history file backup

Support for storing a daily backup of the history file.  To turn off backups, change this setting to 0 (zero).