this post was submitted on 28 Aug 2023
8 points (100.0% liked)

NotAwfulTech

385 readers
6 users here now

a community for posting cool tech news you don’t want to sneer at

non-awfulness of tech is not required or else we wouldn’t have any posts

founded 1 year ago
MODERATORS
8
restic (restic.net)
submitted 1 year ago* (last edited 1 year ago) by froztbyte@awful.systems to c/notawfultech@awful.systems
 

I've been using it for a good while now, but figured it's worth a shoutout incase others don't know it. one of the few pieces of Go-ware I don't substantially hate.

I've previously slapped together a tiny set of shellscripts for my use of it which you're welcome to steal from. also recently seen backupninja as something that can use this, but haven't tried that

top 6 comments
sorted by: hot top controversial new old
[–] pja@awful.systems 4 points 1 year ago* (last edited 1 year ago) (3 children)

I have currently settled on borg for backups personally, combined with some gruesome ssh hackery to let me do pull backups of external machines using ssh tunnelled sockets back to a backup server which is not reachable from the wider internet. These days I might just use tailscale to set up a VPN & pipe the backup straight over that without all the ssh shenanigans but the system I have works. You can also use borg to talk directly to rsync.net at special nerd rates: https://www.rsync.net/products/borg.html Bring your own support!

NB. Last time I looked at this, borg’s cryptography was somewhat suspect. Not actually broken, but definitely not using best practices. Restic is better, but at the time I was looking restic didn’t compress backups so it was a non-starter for me. These days restic does compression as well so is probably the right default choice. Borg2 has a rewritten encryption layer which supposedly fixes all the problems pointed out by cryptographers with Borg1, but it hasn’t hit a release version yet & is still in beta.

[–] froztbyte@awful.systems 4 points 1 year ago

Yeah I recall looking at borg as well but bounced off it for a few reasons I can no longer remember (nor do I think I have the list around anymore). I’m told I have a high bar for software I like (personally I think it’s just a sensible starting point and many things are terrible), but I’d bet the assessment boiled down to “ugh, this looks annoying”

Give restic a try :)

[–] mawhrin@awful.systems 3 points 1 year ago (1 children)

i've put my (figurative) money on kopia, which is beautifully well-rounded and remarkably fast.

[–] froztbyte@awful.systems 2 points 1 year ago

looks interesting. I'll give it a try sometime for comparison.

weird amount of branding though. lately you usually see this with previously-companyware that got spun out into an open codebase when the company failed, but I didn't immediately see anything that makes me think this is that

[–] pja@awful.systems 3 points 1 year ago

Oh, look a Borg CVE has just landed in my Debian security inbox.

[–] self@awful.systems 2 points 1 year ago

huh, this looks like a great alternative to rsync.net (which I evaluated at one point but didn’t end up using and I can’t remember why), and it led me to discover rclone, which looks like it’ll let me use a number of cloud drives for restic backups or general rsync-like file transfers (and it seems to have recent Proton Drive support, which solves a very specific problem I was looking for an answer to)