News for hackers. Stuff that matters.
Re:Show HN: I made a privacy-first minimalist Backblaze by jfkimmes on Sunday March 06, 2022 @03:36PM (#30581014)
Interesting. I had not heard of restic, yet. My default backup choice has been borg[1] for a long time, so borgbase.com was a natural choice for off-site backups for me. They make Vorta a decent GUI client for borg - that's how I found out about them.

Can someone here give a comparison of borg and restic by any chance?

[1]: https://www.borgbackup.org/

Re:Show HN: I made a privacy-first minimalist Backblaze by bimbashrestha on Sunday March 06, 2022 @03:46PM (#30581101)
Borg supports local and SFTP backups while Restic supports more (a lot more). S3, Google Cloud, B2, etc. In fact, they integrate with rclone so anything you can access using rclone, you can backup to using Restic.

Borg uses compression while Restic does not. Restic just uses deduplication so your backups with Restic will likely be larger in size.

Anyway, that's what jumps to mind. They're both pretty great honestly (in terms of community support and reliability). There are a lot of other options too btw. The Restic repo has a pretty good list [1]

[1] https://github.com/restic/others

Re:Show HN: I made a privacy-first minimalist Backblaze by philjohn on Sunday March 06, 2022 @04:38PM (#30581515)
The rclone backend is a killer feature of Restic - using it in my home setup which is:

6 computers backing up using UrBackup client to a 6 drive 2U NAS running Raid Z2 and UrBackup server (which is nice as it stores incremental backups as ZFS child datasets).

I then have a post backup script which creates a snapshot of the latest backup, mounts it, backs up using Restic using the JottaCloud rclone backend.

Re:Show HN: I made a privacy-first minimalist Backblaze by stavros on Sunday March 06, 2022 @06:04PM (#30582173)
Do you know if Restic supports block-level deduplication? I am backing up some database dumps and the backup filesystem has ballooned in size, even though the dumps are 99% identical every day. This makes me suspect that they only deduplicate on the file level, and that I would have some very significant savings if I zipped the dumps before backing up.

EDIT: Some details on deduplication are here, and I'm puzzled as to why my backups are so big: https://restic.readthedocs.io/en/latest/100_references.html?...

Re:Show HN: I made a privacy-first minimalist Backblaze by XorNot on Sunday March 06, 2022 @06:47PM (#30582446)
Restics dedupe window is tuned to a 1mb boundary - it's optimised for cloud provider IOPS.

Bup with it's rsync sized one always did much better for databases for me.

Re:Show HN: I made a privacy-first minimalist Backblaze by stavros on Monday March 07, 2022 @05:54AM (#30586303)
That's interesting, thank you. Do you have any info on how to enable that one?