linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs send - detect if complete
@ 2016-01-17 12:35 Lubos Kolouch
  2016-01-18  2:11 ` Duncan
  0 siblings, 1 reply; 2+ messages in thread
From: Lubos Kolouch @ 2016-01-17 12:35 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-18  2:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-17 12:35 btrfs send - detect if complete Lubos Kolouch
2016-01-18  2:11 ` Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).