btrfs-send can encode streams using different protocols. Which one should I choose for ensuring longevity?
Solution
Use --proto=0 to use the latest version (depends on running linux and btrfs-progs versions).
Overtime the protocol will change. btrfs-receive should understand old protocols but the best strategy is to create a new snapshot sequence every few years to remove dependence on old protocols?
Note: option --compressed-data is useless since it applies only if the btrfs filesystem uses transparent compression of files. It does not influence whether btrfs-send will compress the stream.
Problem
btrfs-send
can encode streams using different protocols. Which one should I choose for ensuring longevity?Solution
--proto=0
to use the latest version (depends on running linux and btrfs-progs versions).btrfs-receive
should understand old protocols but the best strategy is to create a new snapshot sequence every few years to remove dependence on old protocols?