Changeset 2324


Ignore:
Timestamp:
05/10/2008 00:15:55 (4 years ago)
Author:
chris
Message:

Log statistics before BackupFinish? event, so that they can be used
in reporting in the NotifyScript.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbackupd/BackupDaemon.cpp

    r2318 r2324  
    975975        BOX_NOTICE("Finished scan of local files"); 
    976976 
    977         // Notify administrator 
    978         NotifySysadmin(SysadminNotifier::BackupFinish); 
    979  
    980         // Tell anything connected to the command socket 
    981         SendSyncStartOrFinish(false /* finish */); 
    982  
    983977        // Log the stats 
    984978        BOX_NOTICE("File statistics: total file size uploaded " 
     
    991985        // Reset statistics again 
    992986        BackupStoreFile::ResetStats(); 
     987 
     988        // Notify administrator 
     989        NotifySysadmin(SysadminNotifier::BackupFinish); 
     990 
     991        // Tell anything connected to the command socket 
     992        SendSyncStartOrFinish(false /* finish */); 
    993993 
    994994        // Touch a file to record times in filesystem 
Note: See TracChangeset for help on using the changeset viewer.