this post was submitted on 17 Sep 2024
29 points (91.4% liked)

Selfhosted

40189 readers
608 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
29
submitted 2 months ago* (last edited 2 months ago) by gedaliyah@lemmy.world to c/selfhosted@lemmy.world
 

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.

all 19 comments
sorted by: hot top controversial new old
[–] asap@lemmy.world 14 points 2 months ago* (last edited 2 months 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 11 points 2 months 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.

[–] lupec@lemm.ee 10 points 2 months 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.

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

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

[–] pe1uca@lemmy.pe1uca.dev 4 points 2 months ago* (last edited 2 months 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 2 months ago* (last edited 2 months 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.

[–] MangoPenguin@lemmy.blahaj.zone 3 points 2 months ago

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

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

Cryptomator encrypts voulumes you can store/sync anywhere.

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

Except the CLI hasn't been updated in ages

[–] bandwidthcrisis@lemmy.world 2 points 2 months 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.

[–] Moonrise2473@feddit.it 2 points 2 months 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

[–] MigratingtoLemmy@lemmy.world 1 points 1 month ago (1 children)

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

[–] Noxious@fedia.io 1 points 1 month ago (1 children)
[–] MigratingtoLemmy@lemmy.world 2 points 1 month ago (1 children)
[–] Noxious@fedia.io 1 points 1 month ago

It's impressive how many things can be achieved with nothing more than the power of open source software

[–] hex@lemmynsfw.com 1 points 1 month ago

I personally use restic for local backups which then get synced with rclone into a Hetzner Storage Box.

[–] just_another_person@lemmy.world -1 points 2 months ago

R2 has no ingress or egress fees