alfresco-backup-and-recovery-tool icon indicating copy to clipboard operation
alfresco-backup-and-recovery-tool copied to clipboard

Backup statistics shown twice for each section

Open douglascrp opened this issue 7 years ago • 1 comments

I don't know why, and I am going to investigate it, but the backup statistics is always show twice in the logs, just like this:

--------------[ Backup Statistics ]--------------
StartTime 1496606481.20 (Sun Jun  4 22:01:21 2017)
EndTime 1496606484.76 (Sun Jun  4 22:01:24 2017)
ElapsedTime 3.56 (3.56 seconds)
SourceFiles 12851
SourceFileSize 1223592859 (1.14 GB)
NewFiles 6
NewFileSize 104430 (102 KB)
DeletedFiles 0
ChangedFiles 3
ChangedFileSize 71607 (69.9 KB)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 9
RawDeltaSize 131018 (128 KB)
TotalDestinationSizeChange 8623 (8.42 KB)
Errors 0
-------------------------------------------------

NOTICE 1
. --------------[ Backup Statistics ]--------------
. StartTime 1496606481.20 (Sun Jun  4 22:01:21 2017)
. EndTime 1496606484.76 (Sun Jun  4 22:01:24 2017)
. ElapsedTime 3.56 (3.56 seconds)
. SourceFiles 12851
. SourceFileSize 1223592859 (1.14 GB)
. NewFiles 6
. NewFileSize 104430 (102 KB)
. DeletedFiles 0
. ChangedFiles 3
. ChangedFileSize 71607 (69.9 KB)
. ChangedDeltaSize 0 (0 bytes)
. DeltaEntries 9
. RawDeltaSize 131018 (128 KB)
. TotalDestinationSizeChange 8623 (8.42 KB)
. Errors 0
. -------------------------------------------------

douglascrp avatar Jun 05 '17 15:06 douglascrp

I think one is for the command itself and the other is because I force to log the command output with lines like https://github.com/toniblyx/alfresco-backup-and-recovery-tool/blob/master/src/alfresco-bart.sh#L263

toniblyx avatar Jun 05 '17 15:06 toniblyx