Michael Welsh Duggan
2013-Dec-24 06:50 UTC
Use dedup to recover from messed up incremental send?
I've been backing up my fs to another disk on a semi-regular basis. I make a readonly snapshot of the fs, and always keep the last snapshot. I then do an incremental send to the backup fs, using "btrfs send -p". I then delete the older of the two snapshots on the backed-up fs. A couple of times I accidentally deleted the parent snapshot before sending. (I know I should be using a script to do this. Mea culpa.) My question is this: Is it possible to use dedup to have files from a fresh snapshot on the backup fs share blocks from previously saved snapshots? My guess is that since these are readonly snapshots, I can't do this directly. But I thought I'd check. -- Michael Welsh Duggan (md5i@md5i.com) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html