digint / btrbk

Tool for creating snapshots and remote backups of btrfs subvolumes
https://digint.ch/btrbk/
GNU General Public License v3.0
1.7k stars 123 forks source link

WARNING: Failed to parse subvolume detail with new btrfs-progs-5.14.2-1.fc34.x86_64 package on Fedora 34 #422

Open ugholf opened 3 years ago

ugholf commented 3 years ago

When running btrbk received the WARNING message in the title after upgrading to the newest version of btrfs-progs 5.14.2-1 (Fedora 34). This version has additional information displayed when running 'btrfs subvolume show' command. Saw this is similar to issue https://github.com/digint/btrbk/issues/290. Tried adding the following to the 'my %trans {..' declaration in the btrbk file (starting at line# 994) and the warnings go away.

  "Send transid"            => "send_transid",
  "Send time"               => "send_time",
  "Receive transid"         => "receive_transid",
  "Receive time"            => "receive_time",
$ rpm -qa btrfs-progs btrbk
btrbk-0.28.3-4.fc34.noarch
btrfs-progs-5.14.2-1.fc34.x86_64
stefangweichinger commented 3 years ago

Hits me as well, will try your suggested patch soon.

digint commented 3 years ago

You can safely ignore this warning (it originally existed to alert me on upstream changes in output for btrfs subvolume show). A fix for that already exists on btrbk-0.29.0:

(The above patch should work as well)

stefangweichinger commented 2 years ago

correct, I use version 0.32.0-dev now and that message isn't there anymore. thanks