Re: dar_manager - incremental backups and removed file

Denis Corbin <[email protected]> Tue, 16 Apr 2024 22:29:42 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 16/04/2024 09:44, J. Roeleveld via Dar-support wrote:> On Monday, 15 
April 2024 22:56:58 CEST Denis Corbin wrote:
 >> On 15/04/2024 07:04, J. Roeleveld via Dar-support wrote:
 >>

Hi Joost,

OK, the first problem you reported about dar_manager warning is a bug. 
Here is what produces the output with all detailed date information (new 
-x option for dar_manager):

# dar_manager -B 
database_delete_order_warning/zdata_os_services_binhost_root.dmd -f 
usr/share/fonts/liberation-fonts/.uuid -x
Warning: using insecure memory!
  1       Thu Jun  3 15:32:10 2021 + 341379045 ns  saved     absent
  2       Thu Jun  3 15:32:10 2021 + 341379045 ns  present   absent
  3       Thu Jun  3 15:32:10 2021 + 341379045 ns  present   absent
  4       Thu Jun  3 15:32:10 2021  removed                  absent


The date at #4 is just lacking the sub-second information, which leads 
it  to be considered older than the dates at #3 #2 and #1 by 
approximativement 0.341 s. This is the cause of the warning. I will look 
at the way the removal date is obtained and why it is lacking the 
sub-second part, but that's almost harmless as far as I see the 
consequences. This may be a bug in dar or dar_manager I have to 
investigate that.

The second problem is the fact the date of removal (over its lack of 
precision), is not the last modification date of the parent directory. I 
also have to investigate that. Same thing here, maybe the problem is in 
dar or dar_manager but this is also a bug.

# dar_manager -B 
database_delete_order_warning/zdata_os_services_binhost_root.dmd -f 
usr/share/fonts/liberation-fonts -x
Warning: using insecure memory!
  1       Thu Jun  3 15:32:10 2021 + 341379045 ns  saved     absent
  2       Thu Jun  3 15:32:10 2021 + 341379045 ns  present   absent
  3       Thu Jun  3 15:32:10 2021 + 341379045 ns  present   absent
  4       Mon Apr  8 08:13:39 2024 + 957335766 ns  present   absent
#


> 
>> Which dar and dar_manager version are used?
> 
> I use version 2.7.13.
> Am planning on upgrading to 2.7.14 later this month.

2.7.14 does not bring any fix related to this problem so
2.7.13 is perfectly fine, no worries. You can wait for 2.7.15 with these 
two bug fixes.

[...]

> 
>>> I have several systems using the same distribution, but only this
>>> particular one is showing the problem.
>>
>> are they all using the same dar and dar_manager versions?
> 
> Yes, they all use the same dar and dar_manager versions.

thus, maybe the file removal activity is not the same on the other 
systems? this would explain why dar_manager does not warning the same(?)

> 
> --
> Joost
> 
> 
> 

Cheers,
Denis
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEVeSEpqXFvH9T9/cuqLFBYNNrO6cFAmYe37YFAwAAAAAACgkQqLFBYNNrO6eE
gg/+MbE5ODZ+aE6g25zKPy6p3nAL4BHA8OVfa7HVx+5vNpUddkZPIHDpKUPw5KP++/qZrm1hO9X7
uB887AVZYEGH8TGbRhG1yl1jtXyf2OKEcDDzJzlaHe+noq/q6CpcE7J34jPl2ogdvl3VjQ3FMdsq
agNDSD+qU4dcEzu2mdoeGvrGR1LI/zoGhu/1tjdQawKNtBfjOS+ghQtQWDbzsF1a7W0LhQiXEsyc
jGCB+bMUbvad+BdDJvCUK/HOn4sfVwy5Eoehl3lpQ5/HJIRcBWDZdJUIz/5esUvcCk+uQkofe++3
Bzmp+6k9SaDv8Gz1M/SNlSJDHu8xftj6fWIWEN89BlYpqn1S6PlusFO5BdvV03+kyaArvpUgDbQO
4mJ6mDceuIy0bOIl6ZCSe4MkZeCroIkrWHvcT0wJZ8Q3+IB4SpHpvMpIsUjjj5MRW0W1AICTl1ED
/wgbXcNhbwMFHDNYvjmjLM1G4HnHzUtxtl60FJgDK6Vo18x35EBWqGOAUkTR5ODplbvFYefZVk38
litK8rM1D6/GwE5GOhKzCJDiIMmoEUgaT0zPyx6yTYf7YdCfBtLUwwvU5+44zhoUmNA+gMx0BeDb
qbYi0XQI0PqWthQvlZpE2rAEwDr/eQa7V5HqVYulr7C7tG29kZVfLhkDEaVFONcAi6Vqk9x75sOx
pMI=
=7eBE
-----END PGP SIGNATURE-----