Extend dnf with pretransaction that allow todo pre and post in right direction. This make more sense in case of a backup system.
Root ist hard coded this time.
This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/andybe/BtrfsF25/