Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes - they accomplish the same thing.

--link-dest is just an elegant, built-in way to create "hardlink snapshots" the same way that 'cp -al' always did.

But note:

A changed file - even the smallest of changes - breaks the link and causes you to consume (size of file) more space cascading through your snapshots. Depending on your file sizes and change frequency this can get rather expensive.

We now recommend abandoning hardlink snapshots altogether and doing a "dumb mirror" rsync to your rsync.net account - with no retention or versioning - and letting the ZFS snapshots create your retention.

As opposed to hardlink snapshots, ZFS snapshots diff on a block level, not a file level - so you can change some blocks of a file and not use (that entire file) more space. It can be much more efficient, depending on file sizes.

The other big benefit is that ZFS snapshots are immutable/read-only so if your backup source is compromised, Mallory can't wipe out all of the offsite backups too.



It also reduces the amount of data transferred, making the backup faster.

> We now recommend

Who's we?


The poster to whom you replied is affiliated with rsync.net, a popular backup service.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: