Earlier quoted context omitted.
It's a hack, but it's also the best (only?) way to deduplicate all that metadata without breaking the ability to access the history using pre-existing filesystem operations.
Volume snapshots are a better way. The only filesystems I know of that support them are ZFS, BtrFS, and HAMMER. I'm not sure if snapshots are implemented using hard links or if they are more fundamental. Another way, which is worse, is block-level deduplication. All of the above filesystems support it, as does NTFS. I wish Apple would adopt HAMMER for Mac OS. It is BSD-licensed and more suitable for a memory-constrai…
Time-Machine-style backup with rsync
41–50 of 52 posts
Re: Time-Machine-style backup with rsync
#42This sounds a lot like rdiff-backup, which uses rsync and hard links to provide incremental backups: http://rdiff-backup.nongnu.org/features.html
Re: Time-Machine-style backup with rsync
#43Earlier quoted context omitted.
It's a hack, but it's also the best (only?) way to deduplicate all that metadata without breaking the ability to access the history using pre-existing filesystem operations.
Volume snapshots are a better way. The only filesystems I know of that support them are ZFS, BtrFS, and HAMMER. I'm not sure if snapshots are implemented using hard links or if they are more fundamental. Another way, which is worse, is block-level deduplication. All of the above filesystems support it, as does NTFS. I wish Apple would adopt HAMMER for Mac OS. It is BSD-licensed and more suitable for a memory-constrai…
Re: Time-Machine-style backup with rsync
#44You should, however, consider bup (https://github.com/bup/bup) - it takes less than a minute to figure out nothing is done, it deduplicates parts of files, (that is, if you have a 20GB virtual machine image, and you've changed one byte in the middle of it, then the next snapshot is going to take ~10KB, not 20GB). The older release don't keep ownership/modification time, but there's a new version pending release soon that does.
It also works well remotely (through ssh), can do an integrity check (bup fsck), redundancy (using par2; important after deduplication). And it has a fuse frontend that makes it all accessible as a file system, as well as an ftp frontend.
bup is teh awesome.
Re: Time-Machine-style backup with rsync
#45Earlier quoted context omitted.
It's a hack, but it's also the best (only?) way to deduplicate all that metadata without breaking the ability to access the history using pre-existing filesystem operations.
Volume snapshots are a better way. The only filesystems I know of that support them are ZFS, BtrFS, and HAMMER. I'm not sure if snapshots are implemented using hard links or if they are more fundamental. Another way, which is worse, is block-level deduplication. All of the above filesystems support it, as does NTFS. I wish Apple would adopt HAMMER for Mac OS. It is BSD-licensed and more suitable for a memory-constrai…
Re: Time-Machine-style backup with rsync
#46Earlier quoted context omitted.
the hard linking of directories is a hack not really a feature. There's a good reason why filesystems ( including HFS+ when not being used for Time Machine) do not do it.
It's a hack, but it's also the best (only?) way to deduplicate all that metadata without breaking the ability to access the history using pre-existing filesystem operations.
Re: Time-Machine-style backup with rsync
#47Re: Time-Machine-style backup with rsync
#48Earlier quoted context omitted.
The integration with OS reinstall works very well, and is pretty seamless from the user's perspective. I used to do two backups-- a local TM backup and a separate cloud backup, but I found it was actually easier to just use Automator to up mount my TM volume once a day, image it, and send that up to the cloud. When my TM volume failed last year, I just pulled the latest image and put it on a replacement drive, and I…
Could you please share how you did that in Automaton? I'd love to do that to my backups.
Be sure to test this to make sure it restores, but in my case it works flawlessly.
Re: Time-Machine-style backup with rsync
#49Earlier quoted context omitted.
It's a hack, but it's also the best (only?) way to deduplicate all that metadata without breaking the ability to access the history using pre-existing filesystem operations.
Volume snapshots are a better way. The only filesystems I know of that support them are ZFS, BtrFS, and HAMMER. I'm not sure if snapshots are implemented using hard links or if they are more fundamental. Another way, which is worse, is block-level deduplication. All of the above filesystems support it, as does NTFS. I wish Apple would adopt HAMMER for Mac OS. It is BSD-licensed and more suitable for a memory-constrai…
Re: Time-Machine-style backup with rsync
#50Earlier quoted context omitted.
It's a hack, but it's also the best (only?) way to deduplicate all that metadata without breaking the ability to access the history using pre-existing filesystem operations.
Why would deduplicating the metadata be important for this use case? Static amount of available inodes on some filesystems is the only reason I can think of.