added hooks for purgeOldBackups
added hooks for ClearData and PreserveData