Re: Files in /usr/share/zoneinfo not being backed up

Eric Zolf <[email protected]> Mon, 2 Jan 2023 07:48:23 +0100
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Organization Rdiff-Backup.net
Message-ID <[email protected]>
Hi,

On 01/01/2023 21:15, Robert Nichols wrote:
> Another system, this time running Rocky Linux 8.7, is exhibiting the 
> same behavior with inability to back up some hard-linked files (mainly 
> in /usr/share/zoneinfo, but also a few other files).

OK, I got this one "pinpointed": it appears when hardlinked files change 
metadata but _not_ content, _and_ only when using API 201.

Repeater is simple:

mkdir from
date > from/fileA
ln from/fileA from/fileB
rdiff-backup -v5 --api-version 201 backup from bak
touch from/fileA
rdiff-backup -v5 --api-version 201 backup from bak

Good news is that it doesn't make you lose any data.

I created an issue for this: 
https://github.com/rdiff-backup/rdiff-backup/issues/816
BUT I'm quite confident that the warnings are innocuous, they're 
unsettling but they actually do the right thing (proof being that 
calling rdiff-backup again, without API 201, doesn't show any change 
being required).

Let me check how to fix the warning though,
Eric