Open ian-kelling opened 1 year ago
So, btrbk clean will kill off half my backups
Can you give an example on why it kills half your backups? btrbk clean
should really only remove unfinished (garbled) targets.
https://github.com/digint/btrbk/blob/master/btrbk#L6599
# incomplete received (garbled) subvolumes are not readonly and have no received_uuid (as of btrfs-progs v4.3.1).
# a subvolume in droot matching our naming is considered incomplete if received_uuid is not set!
However, my main use case is to run btrbk from host1 to host2 for a few days, then switch to the opposite direction, and repeat. So, btrbk clean will kill off half my backups. When I fail a btrbk run due to a network error, I get the above suggestion. Instead, it should suggest a command that will just delete the backups that it would complain about wanting to make but not being receive targets.