如何将 btrfs 快照发送到多个目标驱动器?

How do I send btrfs snapshots to multiple destination drives?

如何将 BTRFS incremental backup 发送到多个源目的地,这样我就不必 运行 btrfs send 多次?

btrfs send -p /tmp/parent_subvol /tmp/incremental_backup_snapshot | btrfs receive /mnt/destination_drive1
btrfs send -p /tmp/parent_subvol /tmp/incremental_backup_snapshot | btrfs receive /mnt/destination_drive2

在bash中:

btrfs send -p /tmp/parent_subvol /tmp/incremental_backup_snapshot | tee >(btrfs receive /mnt/destination_drive2) | btrfs receive /mnt/destination_drive1

(礼貌 this answer