this post was submitted on 17 Jun 2023
100 points (100.0% liked)

Selfhosted

40316 readers
270 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 1 year ago
MODERATORS
 

I've been backing up to a dedicated hard disk within the same server for all my backups in case my disks fail. And as I run more and more services, the concern of disks failures grow bigger.

I'm looking for a cheapish off-site backup solution and I'm just curious what everyone does for their 3-2-1 backup solutions.

top 50 comments
sorted by: hot top controversial new old
[–] gubxuhki@lemmy.world 11 points 1 year ago

Do you have any family or friends that are willing to let a small NAS sit around somewhere? Or host a friends backup and return they host your backup? For me, this approach works well and is probably as cheap as it can get. To just backup some data over the internet, any cheap old NAS will do. I have an old NAS sitting at my parents and just manually turn it on when I'm visiting. A small startup script runs rsync without further interaction and shuts down when finished.

[–] KitchenNo2246@lemmy.world 11 points 1 year ago

I have a borg server in the office that takes backups of all my servers. Each server stores their applications backup that gets pulled into the repo. On top of that, the borg server pushes the backup to rsync.net.

All of this is monitored by my Zabbix server

[–] SheeEttin@lemmy.world 9 points 1 year ago (2 children)

Honestly, I don't. The vast majority of my data is just stuff like Linux ISOs that I could download again. Important documents and stuff like that take up so little space that I just keep them in Google Drive. Most of my personal project work is on GitHub. And while neither of those are technically backups, it's not a tragic loss if I accidentally delete everything.

[–] solstice@lemmy.world 4 points 1 year ago

Yeah it's weird, 10+ years ago or so I feel like I had SO MUCH DATA and it was always an issue. Now I really don't have anything. A few gigs of photos I guess, some various files, but that's it. I guess I used to have a lot more media like movies and porn, which I don't really need anymore.

[–] Freesoftwareenjoyer@lemmy.world 4 points 1 year ago (2 children)

Do you at least encrypt those documents?

load more comments (2 replies)
[–] sudneo@lemmy.world 8 points 1 year ago (2 children)

I use restic/borg (depending on servers) and push to a bunch of S3 buckets on Backblaze. This applies to my desktop, my NAS and in general my non-Kubernetes data.

For Kubernetes I wrote a small tool that...well does the same for PVCs. Packs up the data with restic (soon I hope to migrate to rustic, once the library gets polished) and pushes to Backblaze.

To give an idea of the pricing, for 730GB, with daily backups or more, I pay approximately $5 a month.

load more comments (2 replies)
[–] Kata1yst@kbin.social 8 points 1 year ago (2 children)
load more comments (2 replies)
[–] HolyDriver@lemmy.world 6 points 1 year ago (1 children)

Ah yes automated backups, on my to-do which I'll hopefully do before a failure (famous last words). People talking about backblaze b2. I just looked. Why not use the personal one? The one computer would just be the Nas if using it for cold storage/redundancy?

[–] Pfifel@lemmy.world 4 points 1 year ago (1 children)

To copy a comment from reddit:

HTWingNut:

Backblaze Personal only works with Windows PC's and Mac, and drives that are physically connected to the computer. No VM's, no network drives/hardlinks/symlinks, etc. You have to use their software to backup too. As someone else noted, for recovery you can grab files in 500GB chunks as a zip, or 8TB drive mailed to you (free of charge up to 5 per year). Data needs to be retained on your local drives otherwise it will delete them from their servers after 30 days unless you upgrade to their 1 year retention plan.

I have a Windows PC that is on 24/7 for a number of things, and I just put a hard drive in there that I backup my most important NAS files to that, and it gets backed up to Backblaze Personal.

Backblaze Personal is cheap and I see the appeal, but you have to understand and live with those caveats for "unlimited" backup.

I use B2 with rclone and just backup "important" stuff on my NAS with cron jobs. I guess you could have rclone move the "important" stuff from NAS to a "burner" PC which uses Backblaze Personal.

I don't have enough data to warrant all that so I use B2 for now and I have around 50GB of data so the price is cheap

load more comments (1 replies)
[–] FineWolf@lemmy.world 6 points 1 year ago (2 children)

Restic to Wasabi.

I used to use Backblaze B2, until I did the maths on how much it would cost me to restore. B2 storage is cheap yes, but the egress is so fucking expensive. It would have cost me hundreds.

Wasabi storage is equally cheap, and restoring won't cost me an arm and a leg.

I use the following scripts for Restic: https://gitlab.com/finewolf-projects/restic-wrapper-scripts

[–] d4nm3d@reddthat.com 4 points 1 year ago (1 children)

wasabi is cheaper than B2 unless...

  • you store less than 1TB (they charge for a minimum of 1TB even if you store nothing)
  • you pay for any data you upload for 90 days minimum.. so if you upload 500GB and then delete it within 90 days, you're paying for it for the duration anyway..
  • You can only download the same amount as you store in a month without incurring egress costs.

The 3 points above are how they can not charge egress for the majority of people.

[–] FineWolf@lemmy.world 2 points 1 year ago

Remember, this is for an offsite backup scenario.

wasabi is cheaper than B2 unless… you store less than 1TB

Yeah, absolutely. In my case, I backup way more than 1TB.

you pay for any data you upload for 90 days minimum

Which is absolutely acceptable in a offsite backup scenario. The data there is present for a long time, and if you use a solution like Restic which has deduplication capabilities, this is not an issue.

You can only download the same amount as you store in a month without incurring egress costs.

This is false. You can only download the same amount as you store in a month without violating the terms of service. That said, I've been using Wasabi in a professional manner for a number of years now, and as long as it isn't a regular occurrence, you can always contact support and give them a heads up that you do need to have more egress in a month.

This only occurs if you have to do a full restore TWICE in a month, which I had to once due to our team not noticing that the SAS controlled had failed and was responsible for corrupting data; not the drives. Support was quick, and it was no issue. Still didn't pay for that egress.

load more comments (1 replies)
[–] gubxuhki@lemmy.world 6 points 1 year ago (1 children)

Do you have any family or friends that are willing to let a small NAS sit around somewhere? Or host a friends backup and return they host your backup? For me, this approach works well and is probably as cheap as it can get. To just backup some data over the internet, any cheap old NAS will do. I have an old NAS sitting at my parents and just manually turn it on when I'm visiting. A small startup script runs rsync without further interaction and shuts down when finished.

This is what I did. Family member with decent internet, I have a Synology box that my server rclones into

[–] easeKItMAn@lemmy.world 6 points 1 year ago* (last edited 1 year ago)

Define which data is from value. I got 68TB of data but realistically only 3 TB are from such value I maintain several copies (Raspi + SSD) and online backup. The rest of data is stored on a cheap server built at a family member and synchronized twice a year. Make sure your systems and drives are all encrypted. And test your backups and redeployment strategy.

Edited: typo

[–] tburkhol@lemmy.world 5 points 1 year ago

2 spare drives and a safe deposit box ($10/yr). Swap the bank box once a month or so. My upstream bandwidth isn't enough to make cloud saves practical, and if anything happens, retrieving the drive is faster than shipping a replacement, nevermind restoring from cloud.

Of course, my system is a few TB, not a few dozen.

[–] dustojnikhummer@lemmy.world 5 points 1 year ago

My home "offsite" backup is a second NAS at my parents house. I plan on getting two identical NASes with identical storage setup and let them replicate themselves automatically, but no money for that now.

I don't do 3 2 1, I do 3 1 1

[–] Shortcake@kbin.social 5 points 1 year ago

i use duplicati to back up configs and data for docker containers to 2 cloud services. my 8 TB server is almost maxed. i need funds to buy a backup for that and expand.

I know synology (and others probably) have an app where you can back up your data to your friends NAS and vice versa, but that's taking up their storage too and cost for HDD/SSD may be prohibitive

[–] SirMaple_@lemmy.world 5 points 1 year ago (4 children)

I have a 2 x 8TB in RAID1 NAS at a family members house and I also have an OVH dedicated server with 2 x 480GB in RAID1 and 2 x 8TB in RAID1. I use rclone for my backups and keep deleted files for 30 days on the NAS and 120 days on the OVH dedicated server. Both the NAS and server connect back to my home network using WireGuard.

The OVH dedicated server also runs numerous virtual machines that host websites as well as backups of my netbox and mediawiki instance I run at home(they sync nightly).

[–] solstice@lemmy.world 5 points 1 year ago (4 children)

If you ever get raided by the Feds they'll probably raid your friends and family's houses too so it is generally advisable to avoid using friends and family for offsite storage.

[–] fryman@programming.dev 12 points 1 year ago (4 children)

Is getting raided by the FBI something most people worry about?

[–] SirMaple_@lemmy.world 10 points 1 year ago

I don't worry about getting raided by the FBI at all since I don't live in the US lol

But apparently some people worry about it....but if those same people knew how to protect themselves while using the internet they wouldn't need to worry at all.

[–] solstice@lemmy.world 4 points 1 year ago

Only if you know no government has ever lasted forever, and think humans are capable of great evil. Even if not..it's just best practices..think about targeted attacks, corporate espionage, vengeance, things like that.

[–] PopYaCork@lemm.ee 3 points 1 year ago

Given the shit I saw in Australia during the pandemic, I don't trust the police or the government at all. I do everything I can to protect myself from them. Although I'm not worried, I do take steps to protect my data.

load more comments (1 replies)
[–] SirMaple_@lemmy.world 10 points 1 year ago* (last edited 1 year ago)

First they'd need a reason which they won't find or have.

Secondly in my 20+ years working in IT and using the internet I've never once heard that statement about it being "generally advisable to avoid using friends and family for offsite storage". Needed a good laugh. Thanks.

[–] easeKItMAn@lemmy.world 4 points 1 year ago

If your data is such valuable, I’m sure you took the time to setup a complete encrypted system (LUKS).

load more comments (1 replies)
load more comments (3 replies)
[–] mike@werm.social 4 points 1 year ago* (last edited 1 year ago)

Locally I have a mix of SnapRAID and mirroring across 2 servers. Then I use restic to backup select directories/files into Backblaze B2 cloud storage.

edit: I also have a local Time Machine backup server and Backblaze unlimited personal computer backup for my Mac.

[–] Linuturk@lemmy.onitato.com 4 points 1 year ago

Backblaze B2 sync from my NAS. All my client computers use ayncthing or Nextcloud to the NAS.

[–] hoodlem@hoodlem.me 4 points 1 year ago
  • Backblaze B2
  • External hard drives at a friend's house
  • M-Discs, copies at home and a friend's house
[–] netburnr@lemmy.world 4 points 1 year ago

Backblaze using qnap backup software

[–] d3lta19@kbin.social 3 points 1 year ago

Like many others here, I back up all important data from my Truenas to B2. Have a couple hundred gigs. It's like 2 bucks a month.

[–] binwiederhier@discuss.ntfy.sh 3 points 1 year ago

Hetzner storage box, and just rsync. It takes care of snapshotting via auto snapshots. I costs like $20 for 1T I think. But there are cheaper options yoo

[–] irdc@derp.foo 3 points 1 year ago* (last edited 1 year ago)

I use syncthing to synchronise my collection of important stuff between my laptop, local server and VPS. My laptop then gets backed-up to an USB SSD using Time Machine. Granted, it’s not a proper backup, but it’s better than nothing.

For my photo collection I burned it to a BluRay (M-disc) and asked my SO to store it at work.

[–] misterhuh@lemmy.ml 2 points 1 year ago

I have a local backup only drive for pictures and critical laptop backups and use rsync nightly. I also do rsync nightly to Backblaze for pictures. Figure if I can grab the drive I will have it stored offsite.

[–] shrugal@lemmy.world 2 points 1 year ago

I run a Synology NAS and use their backup solution Synology C2. It's e2e encrypted, pretty affordable and well integrated into the system, so it was basically a one-click setup. Also, they keep old versions for 30 days, but only the most recent versions count towards your quota, which makes the space usage very predictable.

[–] camr_on@lemmy.world 2 points 1 year ago

B2 from my NAS with duplicacy. Set it up with healchecks.io to let me know it if stops, and it works without a flaw

[–] zer0@discuss.tchncs.de 2 points 1 year ago

restic hourly backup to external SSD + idrive e2

[–] rs5th@lemmy.scottlabs.io 2 points 1 year ago

I’ve got two synology NASes. My current backup strategy is to backup everything between the two NASes so I have two copies of everything locally. Then I back up documents, photos, pretty much everything except TV shows and movies to Backblaze.

[–] AES@lemmy.ronsmans.eu 2 points 1 year ago

Raspberry Pi - USB HDD - borg backup - parents home :)

[–] surfrock66@lemmy.world 2 points 1 year ago (2 children)

Crashplan can't tell the difference between local folders and NFS mounts, and they have an unlimited size backup plan per device for like $10/month. I have 1 device with NFS mounts from many desktops and my Nas. About 9TB.

load more comments (2 replies)
[–] MeowdyPardner@kbin.social 2 points 1 year ago

I use rsync.net with a promo that adds 1TB free to a 680GB plan for $10/mo, which is enough for me to sync all my personal artifacts nightly from my synology. I also did a NAS share swap with a friend but it's less reliable as friends are always changing things on their setups

[–] privsecfoss@feddit.dk 2 points 1 year ago

Duplicati to Hetzner storage. Working on replacing duplaicati with Borg. Because mono.

[–] PopYaCork@lemm.ee 2 points 1 year ago (1 children)

I won't go into my solution here, but the only tip I'll give you is don't use cloud based storage. Restoring is slow if we're talking terrabytes, it's expensive compared to buying a disk and your data is never truly safe.

Buy another drive, backup to it and have it on a rotation schedule. I keep my "offsite" backup in the boot of my car. If I'm not at home I'm usually away with my car.

[–] Pivot_Wizard@feddit.uk 5 points 1 year ago* (last edited 1 year ago) (1 children)

Storing a hard disk in a car or any other moving vehicle is highly not recommended. The vibration will kill your drive. There are stories of companies moving drives on trolleys across their carpark to find the data has been lost.

[–] PopYaCork@lemm.ee 2 points 1 year ago

they are in a shock proof and waterproof containers

load more comments
view more: next ›