this post was submitted on 31 Jul 2024
26 points (96.4% liked)

Selfhosted

40438 readers
446 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hello,

I am looking for recommendations for a service provider of immutable backup that has options for a homelab user.

My research has led me to services with expensive options, or no pricing at all unless you ask for a quote.

Thank you

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 4 months ago* (last edited 4 months ago) (1 children)

How immutable do you need?

S3 offers a flag that prevents modification or deletion for a set period, and afaik basically every S3-compatible provider offers that.

I use that along with a lifecycle rule to maintain my backup buckets on iDrive.

If you need a 'you cannot touch this and the provider has no way of allowing it' then you're talking specialized corporate talk-to-a-sales-person-for-a-quote, as you found out.

Edit: if you don't need cloud, there's options for WORM media from the humble BluRay to fancy SSDs that don't allow deletion.

[–] Croquette 3 points 4 months ago (1 children)

My goal is that if for whatever reason, my homelab is compromised, I will be able to at least restore my important data.

If i can modify the data on the other end, but cannot from my proxmox, then its fine.

I would like a offsite solution in the future, but for now it's going to be a cloud for data blob only.

[–] [email protected] 2 points 4 months ago (1 children)
[–] Croquette 1 points 4 months ago (1 children)

Never heard of it, but I will look into it. Thanks

[–] [email protected] 2 points 4 months ago (1 children)

Borg append only seems like the way to do this easily

[–] [email protected] 1 points 3 months ago

restic can run append-only, too. It's more about the remote not allowing deletions.

[–] [email protected] 9 points 4 months ago (1 children)

BorgBase allows for append-only backups.

[–] Croquette 4 points 4 months ago

Thanks, from another link in this thread, Borg seems to have wrapper options as a complement to its features.

[–] [email protected] 7 points 4 months ago (1 children)

I use Backblaze B2, but stored in an encrypted Restic container, set up using this guide:

https://helgeklein.com/blog/restic-encrypted-offsite-backup-with-ransomware-protection-for-your-homeserver/

Restic has been great for automating backups, and even letting me mount the encrypted storage to grab individual files. I like doing it this way since I don't have to trust Backblaze isn't reading my data - I know for sure that they can't.

Performance of storage that is both remote and encrypted is about what you would expect, but I don't need access to the data unless something bad happens.

[–] Croquette 1 points 4 months ago

Thats a great link, it lists a lot of options and gives a good explanation on how to setup the author's choices.

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago) (2 children)
[–] Croquette 1 points 4 months ago (1 children)

Thanks for the information, I will look into that.

[–] [email protected] 3 points 4 months ago (1 children)

I use backblaze storage with Kopia, which supports using object lock. Every time a backup is made the objects for it are locked for a configurable amount of time. I use 30 days, so an attacker would have to compromise my backup software for a month before being able to erase my backups.

[–] Croquette 1 points 4 months ago (1 children)

I like the thought of having timed backups to keep the costs lower by pruning the olds backups.

[–] [email protected] 2 points 4 months ago

Also only differences are stored, so if your files don’t change much each backup costs very little. I keep hundreds of backups for the previous year of changes, and it uses less than double the amount of storage the files take up. You can also enable compression, which I do, so it’s even smaller.

[–] [email protected] 1 points 4 months ago

I use B2 for my backups with object lock on

[–] [email protected] 2 points 4 months ago (1 children)

How much data are we talking about?

A free mega.nz account should be fine for everything except family fotos and legally obtained music/movies.

[–] Croquette 1 points 4 months ago

Photos was part of my plan, so mega.nz isn't an option. Thanks for the suggestion though.

[–] [email protected] 2 points 4 months ago (1 children)

Restic or Borg on your side, a safe and remote destination on the other side.

use restic, with backrest web GUI, and cannot be happier.

As for remote site, I use a remote machine I rent, but there are plenty of providers around, shop a bit... Or find a friend for reciprocal backup?

[–] Croquette 1 points 4 months ago (1 children)

My plan is to build a second server that I will leave at my inlaws' house and use that, but for now, I will rent a cloud while this happens.

[–] [email protected] 1 points 4 months ago

Thats perfect