TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Saf – simple, reliable, rsync-based, battle tested, rounded backup

89 pointsby binaryapparatusover 1 year ago
I had this backup code working reliably for years, using local file system, vps&#x2F;dedicated server, or remote storage for backup, then I finally get time to wrap README, iron few missing switches and publish. Should be production ready and reliable, so it could be useful to others. Contributors are welcome.<p>&lt;<a href="https:&#x2F;&#x2F;github.com&#x2F;dusanx&#x2F;saf">https:&#x2F;&#x2F;github.com&#x2F;dusanx&#x2F;saf</a>&gt;

7 comments

BoppreHover 1 year ago
How do you automate the checking if the backup worked correctly, in face of saf bugs, rsync bugs&#x2F;misconfiguration, or bit rot?<p>My solution is to pick a few random files (plus whatever is new), and compute their hashes on both local and remote versions. But it&#x27;s slow and probabilistic. ZFS also helps, but I feel it&#x27;s too transparent to rely on (what if the remote storage changes filesystem).
评论 #37186841 未加载
评论 #37187625 未加载
otterproover 1 year ago
Wow, I like this a lot, as it looks easy to run and it can sync to multiple targets. My local backup consists of JBOD (not RAID, ZFS or BTRFS) so I think this should work nicely. I&#x27;ve been using a shell script for doing something similar for backup, but it lacked a lot of the features.
killingtime74over 1 year ago
It might be safer to use an rsync lib that calls librsync or at least wraps the calls for you. I&#x27;m always suspicious of sub-shelling
gizmoover 1 year ago
How does it deal with interrupted backups?<p>Can it automatically prune backups older than N days?<p>I don’t see anything about encryption.
评论 #37187532 未加载
评论 #37187405 未加载
pmontraover 1 year ago
Why not rsnapshot? I&#x27;ve been using it to backup servers to servers for a lot years.
评论 #37186804 未加载
BigBalliover 1 year ago
how is it better&#x2F;safer than manually using rsync?
sureglymopover 1 year ago
Have a look at restic for a good alternative to this.
评论 #37186442 未加载
评论 #37186400 未加载
评论 #37186561 未加载