this post was submitted on 17 Sep 2024
25 points (90.3% liked)

Selfhosted

39247 readers
328 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 would like to use a cloud backup service on my home server. I am a complete beginner. I purchased a subscription for Proton Drive, but it looks like that just won't work. Is there a secure cloud backup that works well on Linux? Bonus points if there's a way to use proton drive. Extra bonus points, if I can set it up for automatic backups through a GUI.

top 14 comments
sorted by: hot top controversial new old
[–] lupec@lemm.ee 10 points 1 day ago (1 children)

Maybe consider a Hetzner storage box. They support borg, restic, rsync and probably more, there's no ingress or egress fees and you get unlimited traffic. Very nice for off-site backups if, like myself, you're on a limited budget.

[–] Hiko0@feddit.org 4 points 1 day ago* (last edited 1 day ago)

+1

I‘ve been using a Hetzner Storage Box with Kopia via SFTP and was able to completely saturate my 500 Mbit/s upload.

[–] asap@lemmy.world 11 points 1 day ago* (last edited 1 day ago)

Any cloud is a secure backup on Linux if you use rclone crypt :)

It works with Google Drive, Dropbox, One Drive, and countless others to create an encrypted cloud storage, where the cloud provider can never view your file contents.

[–] grimer@lemmy.world 10 points 1 day ago

I've loved using Backblaze B2 buckets. Been using them for years and it's very reasonable. Many different backup titles can use them.

[–] Andromxda@lemmy.dbzer0.com 6 points 1 day ago* (last edited 1 day ago)

You can try rclone, but their Proton Drive integration is in beta
https://rclone.org/protondrive/

[–] 0x0@programming.dev 2 points 1 day ago (1 children)

Cryptomator encrypts voulumes you can store/sync anywhere.

[–] MigratingtoLemmy@lemmy.world 1 points 1 day ago

Except the CLI hasn't been updated in ages

[–] pe1uca@lemmy.pe1uca.dev 4 points 1 day ago* (last edited 1 day ago)

I use rclone and duplicati depending on the needs of the backup.

For long term I use duplicati, it has a GUI and you can upload it to several places (mines are spread between e2 and drive).
You configure the backend, password for encryption, schedule, and version retention.

rclone, with the crypt submodule, you use it to mount your backups as am external drive, so you need to manually handle the actual copy of the data into it, plus versioning and retention.

[–] traches@sh.itjust.works 3 points 1 day ago* (last edited 1 day ago)

So there’s a storage protocol called “S3” (I wanna say it stands for simple scalable storage?), first created by Amazon for AWS. Many types of software, including backup programs, have been designed to use it as a storage backend. There are now many S3 compatible providers, last I looked the best value was backblaze B2.

You need a backup program with end-to-end encryption, S3 compatibility, and whatever other features you like. I use restic but it’s CLI only, there’s also borg backup and many others.

If you encrypt locally with a good key, you don’t have to trust the remote storage provider. They just see a bunch of meaningless noise. Just don’t lose the key or your backup is useless.

[–] Moonrise2473@feddit.it 2 points 1 day ago

If you make a backup with a tool like Borg that creates encrypted archives, then using AWS S3 glacier is the cheapest.

What's bad about it: if you ever need those files again, it's going to be VERY expensive to download them again, so it has to be treated as the "what if a nuke hits my city and all the local and off-site backups are vaporized" solution

Also: it's not recommended to directly host plain files, they need to be in an archive format with big chunks, as the API calls that are used to list them during sync are counted in a very expensive way

Duplicati or BackRest and use any S3 compatible storage such as Backblaze B2, iDrive E2, Wasabi S3, etc..

[–] bandwidthcrisis@lemmy.world 2 points 1 day ago

I use rsync.net, it's not as cheap as some, but I like the simplicity of storage I can access with rsync, rclone, sshfs etc.

You can run some commands remotely too, so I used rclone to copy my OneDrive files directly from the cloud files to rsync.net. Not through my PC.

[–] MigratingtoLemmy@lemmy.world 1 points 1 day ago

Run a transparent encryption program and buy a Google drive subscription of 2TB for a year for $100.

R2 has no ingress or egress fees