Closed ComradePashka closed 1 year ago
The size of the archive is determined freshly at the time the summary is printed, this line is responsible for that:
https://github.com/gkiefer/backup2l/blob/461f446fdfc01d9a98b0a41a66baca5df6ea20ba/backup2l#L591
The reported discrepancies may be due to some special behavior of the file system you use (e.g. caching, delayed writing) in conjunction with the 'du' utility. Your may check and run the 'du' command manually again.
For further help, I would need to know:
BTW: If a backup is not created successfully, this will very very likely be noticable by an error message in the log and/or by a discrepancy during backup2l's built-in TOC check (-> column 'Errors' in the summary).
Hello Gundolf!
I am using your script and seems that summary information in mail reports is generated before archive is completely created.
Here is little piece of the mail report:
while actual size for backup.3.tar.gz is 238039M (~238GiB). Sizes for backup1 and backup2 looks correct so the issue happens just time to time. It's not really big problem, but everytime I need to check backup filesizes manually to be sure that they was created succesfully.
I am using backup2l v1.6-pre2 Please, let me know if you need more details. Thank you.