linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with applying incremental btrfs-send
@ 2014-09-03 12:25 Harald Hoyer
  0 siblings, 0 replies; only message in thread
From: Harald Hoyer @ 2014-09-03 12:25 UTC (permalink / raw)
  To: linux-btrfs

Hi,

maybe someone can enlighten me. I am doing btrfs send & receive with full
snapshots and incremental updates.

It basically looks like this:

vol-0 and vol-1 are full subvolume image sends.
inc-1 and inc-2 are incremental images with:
# btrfs send -f inc-1 -p vol vol'
# btrfs send -f inc-2 -p vol' vol''

Case A:

vol---send----> vol-0 --receive--> avol  --send&rec--> bvol
|-----send----> inc-1 --receive-->  |                   | <--receive-- inc-1
vol' -send----> vol-1              avol'               bvol'
|-----send----> inc-2 --receive-->  |                   | <--receive-- inc-2
vol''                              avol''              bvol''

which, works for bvol and which even works, if bvol is removed before inc-2 is
applied to bvol'.

Case B:

vol---send----> vol-0 --receive--> avol
|-----send----> inc-1 --receive-->  |
vol' -send----> vol-1              avol' --send&rec--> bvol'
|-----send----> inc-2 --receive-->  |                   | <--receive-- inc-2
vol''                              avol''              ERROR


trying to apply inc-2 to bvol' fails with:

ERROR: could not find parent subvolume

What's the problem here?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-03 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-03 12:25 Problem with applying incremental btrfs-send Harald Hoyer

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