Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Remember sync isn't a good backup. You're thinking of loss of drives but if this is important data you need to also consider mistakes.
If you accidentally delete files you shouldn't, you don't want this deletion to sync to all your copies so it's gone for good and the backup doesn't help.
Personally I use borgmatic to keep incremental, deduplicated backups. Then I can go back to previous states.
If you install nextcloud all in one, it comes with a backup solution (also borg based). Then devices don't need a copy of every file. But you'll want your server to have a backup drive for this.
I then sync my borg backup to a backblaze b2 bucket for offsite, encrypted backup using rclone. That then meets the 3 2 1 backup plan.
I notice you mention Jellyfin. I don't back up my Jellyfin media, the cloud storage for that could get very expensive and I could get it again if I needed it.
edit folder > ignore delete
and you don't have to worry about syncthing deleting your backup
That, on the other hand, is only viable, if you are sure, data never needs to expire. Dedicated backup solutions work with retention policies.
Yip you can do that but then it's messy! And what if you overwrite a file by accident?
And if you do lose your hard drive then you have a weird state to restore from.
I'd much prefer the ability to restore to a point in time that comes with something like borg.
you can activate one of the options in the "file versioning" to keep deleted files, up to x versions and however long you want
are you writing about losing the backUp drive?
I think versioning is the better option.
No, losing your main version. Imagine you have a computer with syncthing and a server where it syncs to. If you chose no deletions, then it will sync all files to the server but all the stuff you deleted (draft documents, random files, photos from that time your kid held the camera button on your phone down and took 3000 photos in 30 seconds) will be deleted from your computer but still there on your server.
When you computer gets struck by lightning and everything is destroyed but the server is fine, now you have to re-sort out all your files because all the stuff you deleted is still on the server version.
Your suggestion of enabling the option to keep previous versions is probably cleaner. Personally I prefer to keep previous versions and deduplicate to save space.
Just to add to this, if you have periodic snapshots on the server side, this does solve the problem. And it simplifies things a lot.
Yes, if you go with something like syncthing, have it also sync to a server where you run borg backup so you get the incremental backup.