Hello,
I am building a backup system, based on btrfs incremental send/receive.
I am a bit stuck on how to detect, if the transfer has been completed
(and not interrupted during transfer).
Host A :
du --max-depth=0 home_20160117
45787768 home_20160117
btrfs send home_20160117 | ssh dest_host "btrfs receive
/mnt/destination/"
… transfer completes without any error
on dest_host:
du --max-depth=0 home_20160117
45763984 home_20160117
Ie. the size differs, perhaps due to different compression(?)
The volume seems OK, I can use it as a parent volume for further
transfers etc.
The question is - is there a "btrfs native" way to tell, if the two
subvolumes are really identical (and the transfer was not interrupted
etc.)?
Or do I have to resort to costly things like checksumming all files?
Thanks,
Lubos
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html