News for hackers. Stuff that matters.
Re:Show HN: B2blaze – A Backblaze B2 library for Python by ryanplant-au on Wednesday June 27, 2018 @06:43AM (#17407137)
It's a "cheap, easy, reliable: pick any two" situation.

Cheap and easy: buy a 2 TB drive and keep it at home. If some disaster affects your home -- flood, fire, burglary -- it can take out your data and its backup.

Cheap and reliable: buy a 2 TB hard drive and keep it somewhere else. Keeping the backup up-to-date means regularly bringing the drove home, updating it, and putting it back.

Easy and reliable: pay for a service like Backblaze that automatically backs up all your files to a remote server.

There are other benefits to services like B2 especially, namely being able to access your backed-up files from any device or location, or being able to link people to your files on a high-speed server.

Re:Show HN: B2blaze – A Backblaze B2 library for Python by magnetic on Wednesday June 27, 2018 @09:13AM (#17407856)
Or...

You put the 2 TB drive somewhere else (at a relative's) and keep it updated regularly via network.

That's my set up (but with a bigger drive).

At home, I have the master copy of the data on my file server. Then I have backup #1 that is in the same location and backup #2 that is in a different location.

Both #1 and #2 get updated at night with a "timemachine-like" backup system based on rsnapshot. The network traffic goes over ssh.

Remote backup system #2 cost a UPS, a RaspberryPi and an 8 TB drive, which is about ~$250-$300 total.

The initial sync is best done locally of course, but deltas can generally easily go over network at night.

Cheap, reliable, and (relatively) easy (if you're a geek, that is).

Re:Show HN: B2blaze – A Backblaze B2 library for Python by parliament32 on Wednesday June 27, 2018 @12:38PM (#17409584)
I remember there being software back in the day that did exactly this.

The name escapes me right now, but basically you had to add "friends" in the software, then dedicate a certain amount of HDD space to it. It would then back up your files to your friends' computers, and theirs to yours. Backups were encrypted so your friends wouldn't be able to see your files.

It was a super neat idea, I wish I could remember what it was called so I could see if they're still around...

Re:Show HN: B2blaze – A Backblaze B2 library for Python by ajb on Wednesday June 27, 2018 @01:40PM (#17410161)
There's an open source one called Tahoe: https://tahoe-lafs.org/trac/tahoe-lafs There used to be a company with a more usable similar product called allmydata, but it seems to be defunct.
Re:Show HN: B2blaze – A Backblaze B2 library for Python by riobard on Wednesday June 27, 2018 @01:11PM (#17409921)
What happens if you move/rename a bunch of big files?
Re:Show HN: B2blaze – A Backblaze B2 library for Python by beagle3 on Thursday June 28, 2018 @03:04PM (#17419577)
Nothing bad, if you use "bup" or "borg"; The latter has better delete support, so is a better choice for rolling backup if you sometimes delete data. "bup" has the advantage that its repo format is git, which makes it easier to hack.

Both use rsync-style deltas to only send changes, but they use a content-addressable scheme like git so renames are a small metadata change record.

Also, both offer ftp and fuse interfaces if you need to access an older backup.

Re:Show HN: B2blaze – A Backblaze B2 library for Python by magnetic on Wednesday June 27, 2018 @07:46PM (#17412878)
Bad things! rsync isn't smart enough (AFAIK) to know that files have been renamed or moved: it just sees files disappearing on one side and appearing on the other side, so the daily delta can get big.
Re:Show HN: B2blaze – A Backblaze B2 library for Python by riobard on Thursday June 28, 2018 @07:56AM (#17416104)
Yeah that sucks…

I'm looking into using the incremental diff/snapshot feature of btrfs to implement a more efficient solution :P

Re:Show HN: B2blaze – A Backblaze B2 library for Python by magnetic on Thursday June 28, 2018 @01:47PM (#17419005)
DRBD may be a good solution to this problem, although I haven't spent the time to see what it would take to replicate over ssh, and the kind of traffic that is incurred vs changes in origin.

https://en.wikipedia.org/wiki/Distributed_Replicated_Block_D...

Re:Show HN: B2blaze – A Backblaze B2 library for Python by riobard on Friday June 29, 2018 @12:03PM (#17425257)
Interesting! Never heard of this before.