There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

community hosted backups

While reading many of the blogs and posts here about self hosting, I notice that self hosters spend a lot of time searching for and migrating between VPS or backup hosting. Being a cheapskate, I have a raspberry pi with a large disk attached and leave it at a relative’s house. I’ll rsync my backup drive to it nightly. The problem is when something happens, I have to walk them through a reboot or do troubleshooting over the phone or worse, wait until a holiday when we all meet.

What would a solution look like for a bunch of random tech nerds who happen to live near each other to cross host each other’s offsite backups? How would you secure it, support it or make it resilient to bad actors? Do you think it could work? What are the drawbacks?

domi ,
@domi@lemmy.secnd.me avatar

I have exactly the setup you described, a Raspberry Pi with an 8 TB SSD parked at a friend of mine. It connects to my network via Wireguard automatically and just sits there until one of my hosts running Duplicati starts to sync the encrypted backups to it.

Has been running for 2 years now with no issues.

Dark_Arc ,
@Dark_Arc@social.packetloss.gg avatar

You could use kopia for this (but you would need to schedule cron jobs or something similar to do it).

The way this works with kopia… You configure your backups to a particular location, then in-between runs there’s a sync command you can use to copy the backup repository to other locations.

Kopia also has the ability to check a repository for bad blobs via its verify function (so you can make sure the backups stored are actually at least X% viable).

Using zerotier or tailscale (for this probably tailscale because of the multithreading) would let you all create a virtual network between the devices that lets them directly talk to each other. That would allow you to use kopia’s sync functionality with devices in their homes.

Toribor ,
@Toribor@corndog.social avatar

Backups need to be reliable and I just can’t rely on a community of volunteers or the availability of family to help.

So yeah I pay for S3 and/or a VPS. I consider it one of the few things worth it to pay a larger hosting company for.

Nomecks ,

Use object storage for media and backups, then use s3 replication to put a copy somewhere else.

Anonymouse OP ,

Yes. It’s the “put a copy somewhere else” that I’m trying to solve for without a lot of cost and effort. So far, having a remote copy at a relative’s is good for being off site and cost, but the amount of time to support it has been less than ideal since the Pi will sometimes become unresponsive for unknown reasons and getting the family member to reboot it “is too hard”.

anzo ,

Syncthing. Look no further, just check the “untrusted device” so that you don’t give unencrypted data to your friend’s disk.

Anonymouse OP ,

I wasn’t aware of the untrusted setting. That sounds like a good option.

Dark_Arc ,
@Dark_Arc@social.packetloss.gg avatar

Syncthing is not a backup tool and may very well destroy all your data on its own (though this is rare).

Sibbo ,

I would propose creating a distributed hash table for this. But I would never host someone else’s data like this, because I’m too afraid they will give me encrypted illegal content and then some obscure law will give me the fault for it. This is just me though.

Anonymouse OP ,

That’s something that I hadn’t considered!

BakedCatboy ,

I’ve done a backup swap with friends a couple times. Security wasn’t much of a worry since we connected to each other’s boxes over ssh or wireguard or similar and used tools that allowed encryption. The biggest challenge for us was that in my selfhosting friend group we all prefer different protocols so we had to figure out what each of us wanted to use to connect and access filesystems and set that up. The second challenge was ensuring uptime and that the remote access we set up for each other stayed up - and that’s what killed the project as we all eventually stopped maintaining the remote access and nobody seemed to care - so if I were to do it again I would make sure all participants have alerts monitoring their shared endpoint.

meldrik ,

I use Sia for this. It is essentially what you describe, but with a monetary system.

I rent out some of my storage, and use the Siacoin earned to buy storage for backups.

sk ,

I think encrypted backups won't be an issue with this setup. And one would also need to have some friends for this to work.

snekerpimp ,

Trunas with Tailscale/headscale/NetBird as far as software and security. As far as hardware, you want storage that is not attached via usb. Either an off the shelf nas solution or a diy nas would work. There are a few YouTubers that touched on this, hardware haven and raidowl I think.

JackGreenEarth ,

I don’t have an answer for you, but I’m also interested in this and would like to see the responses

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines