linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Incremental send robustness question
@ 2016-10-12 22:29 Sean Greenslade
  2016-10-12 22:43 ` Hugo Mills
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Sean Greenslade @ 2016-10-12 22:29 UTC (permalink / raw)
  To: Btrfs List

Hi, all. I have a question about a backup plan I have involving
send/receive. As far as I can tell, there's no way to to resume a send
that has been interrupted. In this case, my interruption comes from an
overbearing firewall that doesn't like long-lived connections. I'm
trying to do the initial (non-incremental) sync of the first snapshot
from my main server to my backup endpoint. The snapshot is ~900 GiB, and
the internet link is 25 Mbps, so this'll be going for quite a long time.

What I would like to do is "fake" the first snapshot transfer by
rsync-ing the files over. So my question is this: if I rsync a subvolume
(with the -a option to make all file times, permissions, ownerships,
etc. the same), is that good enough to then be used as a parent for
future incremental sends?

And while we're at it, what are the failure modes for incremental sends?
Will it throw an error if the parents don't match, or will there just be
silent failures? I would imagine receive would barf if it was told to
reference a file that didn't exist, but what if the referenced file is
there but contains different data? Are there checks for this sort of
thing, or is it always assumed that the parent subvols are identical and
if they're not, you're in undefined behavior land?

Thanks,

--Sean

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

end of thread, other threads:[~2016-10-16 15:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 22:29 Incremental send robustness question Sean Greenslade
2016-10-12 22:43 ` Hugo Mills
2016-10-12 22:45 ` Chris Murphy
2016-10-12 23:14 ` Hans van Kranenburg
2016-10-12 23:47   ` Sean Greenslade
2016-10-12 23:58     ` Hans van Kranenburg
2016-10-13 10:07     ` Graham Cobb
2016-10-14  4:43 ` Duncan
2016-10-16 15:57   ` Sean Greenslade

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).