[pbs-devel] applied: [PATCH v2 proxmox-backup 1/1] fix #3828: proxmox_backup_debug: Introduce `diff archive` subcommand.

w.bumiller at proxmox.com w.bumiller at proxmox.com
Wed Nov 23 11:26:18 CET 2022


Applied and fixe dup the `c/b` entries to show the actual device type.

But I would like to see some improvements still.

The output is *very* terse and lacks some information that I find is
sort of important (ie. *what* changed - size, mtime, type...).

Particularly the file type is interesting, since currently if that changes
it'll simply display the *old* type in the output.
Eg.
    M f root/asdf
where I modified `/root/asdf` from a regular file to a chardev.
I'd expect at least the new type ;-)
maybe even something like
    M f>c root/asdf
(if we add this, the 2 extra spaces should be added where no change
happened for alignment)
Or simply '*' for a change if we want to stick to short "it just
changed" info...

I also think an opt-in to compare the actual contents would make sense.
Eg. currently files such as `/etc/hostname` will always show up if the
container had been restarted between backups since we re-write it on
container start even if it hasn't been changed, so the mtime will be
different.





More information about the pbs-devel mailing list