btrfs-sync icon indicating copy to clipboard operation
btrfs-sync copied to clipboard

Behavior on broken pipe?

Open dorpauli opened this issue 2 years ago • 0 comments

I am currently setting up a remote backup over ssh. For this I use btrfs-sync. However, no stable SSH connection to the remote host can be guaranteed. The question for me now is how the script behaves if during a synchronization process the connection drops and only a part of a snapshot was received. My fear is:

First, the received part might not be set read-only. Second, upcoming syncs will use the incomplete snapshot as an incremental parent. This would continue the missing data even further into the future, if I am correct.

Am I interpreting the behavior correctly, or are there certain mechanisms that prevent such problems?

dorpauli avatar Jan 08 '23 20:01 dorpauli