Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4983

Advanced users • Re: rsync backups may create inconsistent backups with binNMU packages

$
0
0
There is nothing wrong with ext4, the difficulty is with Debian packages with updated files that still have the previous timestamps.
That's as far as I understand an issue with the way the librtmp binNMU package is built : The timestamp is not updated and therefore rsync doesn't detect the files were updated. I just try to find out whether other binNMU packages are also affected by this on my restored system and have to be reinstalled. Everything works fine for now ...
"dpkg -V" will do that, as long as any restore you did was a full system restore that included the APT databases. Partial restores of files managed by APT will give you an inconsistent system. You'll probably get some false positives from it, from config files that have been edited, or similar.

I'm not sure I would be terribly enthusiastic about an incremental backup solution that does a checksum of every single file, at both source and destination on every run. A better solution might be to identify just the files which need special handling, and do a second run after a standard rsync for just those files. E.g. "rsync -opts -c --files-from=/list/of/files src dest", or something like that, to only do a checksum comparison for known trouble spots or particularly critical subsets where the extra effort is justified.

Statistics: Posted by Murph9000 — Sat Sep 21, 2024 10:36 pm



Viewing all articles
Browse latest Browse all 4983

Trending Articles