【问题标题】:How do I send btrfs snapshots to multiple destination drives?如何将 btrfs 快照发送到多个目标驱动器?
【发布时间】:2018-01-12 21:33:59
【问题描述】:

如何将 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

【问题讨论】:

    标签: backup snapshot btrfs


    【解决方案1】:

    在 bash 中:

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

    (礼貌this answer

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-06-15
      • 2012-05-06
      • 2023-01-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多