4 ms·
What happens if you move/rename a bunch of big files?
by riobard 8y ago
What happens if you move/rename a bunch of big files?
- magnetic 8y agoBad things! rsync isn't smart enough (AFAIK) to know that files have been renamed or moved: it just sees files disappearing on one side and appearing on the other side, so the daily delta can get big.
- riobard 8y agoYeah that sucks… I'm looking into using the incremental diff/snapshot feature of btrfs to implement a more efficient solution :P
- magnetic 8y agoDRBD may be a good solution to this problem, although I haven't spent the time to see what it would take to replicate over ssh, and the kind of traffic that is incurred vs changes in origin. https://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device https://en.wikipedia.org/wiki/Distributed_Replicated_Block_D...
- riobard 8y agoInteresting! Never heard of this before.
- beagle3 8y agoNothing bad, if you use "bup" or "borg"; The latter has better delete support, so is a better choice for rolling backup if you sometimes delete data. "bup" has the advantage that its repo format is git, which makes it easier to hack. Both use rsync-style deltas to only send changes, but they use a content-addressable scheme like git so renames are a small metadata change record. Also, both offer ftp and fuse interfaces if you need to access an older backup.