* restore breaks incremental backup
@ 2014-09-15 16:36 Elliot Wolk
0 siblings, 0 replies; only message in thread
From: Elliot Wolk @ 2014-09-15 16:36 UTC (permalink / raw)
To: linux-btrfs
restoring from an incremental backup breaks the parent UUIDs, making it
impossible to continue doing incremental backup.
1) assume you do incremental backup from "home" to "BACKUP":
btrfs subvol snapshot -r /home /home/backup1
btrfs send /home/backup1 | btrfs receive /BACKUP
btrfs subvol snapshot -r /home /home/backup2
btrfs send /home/backup2 -p /home/backup1 | btrfs receive /BACKUP
2) then you delete "home", mkfs.btrfs, and attempt to restore:
btrfs send /BACKUP/backup2 | btrfs receive /home
btrfs subvol snapshot /home /home/home-rw
btrfs subvol snapshot -r /home/home-rw /home/home-rw/backup3
btrfs send /home/home-rw/backup3 -p /home/backup2 | btrfs receive /BACKUP
#send|receive fails with "parent not found"
#the next step would be to set-default to home-rw, remount, and continue
inc backup as above
receive fails with "parent not found", which makes sense since the
parent UUIDs are not the same, but is highly undesirable. i need to
delete my backup drive and reseed which is mucho scary. perhaps there is
some obvious way to do this that im missing?
thanks, and sorry if this is too vague or is not actually a misfeature.
let me know if theres anything i can do to help. {please CC me for
replies, im not subscribed}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-15 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-15 16:36 restore breaks incremental backup Elliot Wolk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.