digint / btrbk

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

Questions about replacing disk #532

Closed GitHubGeek closed 1 year ago

GitHubGeek commented 1 year ago

Hi,

Thanks for making btrbk! Running a simple master -> slave snapshot set up here. Got a scenario and a couple of questions:

My setup:

Scenario: Host 1 master disk died. I'd like to replace the master disk with a brand new one.

Questions:

  1. I figured out how to use btrbk to send the snapshots from "slave disk" to the new disk, but not sure how to re-create vol1/, vol2/ on the new disk?
  2. Will the re-created vol1/, vol2/ continue to snapshot and send to the slave disk OK?

Thanks!

GitHubGeek commented 1 year ago

Answering my own questions - btrfs subvolume snapshot works like a charm to re-create vol1/, vol2/. Just Work (TM)