4 ms·
Self hosting is great and I'm thankful for all the many ways to run apps on your own infra. The problem is backup and upgrades. I self host a lot of resources
by turtlebits 1y ago
Self hosting is great and I'm thankful for all the many ways to run apps on your own infra.
The problem is backup and upgrades. I self host a lot of resources, but none I would depend on for critical data or for others to rely on. If I don't have an easy path to restore/upgrade the app, I'm not going to depend on it.
For most of the apps out there, backup/restore steps are minimal or non existent (compared to the one liner to get up and running).
FWIW, Tailscale and Pangolin are godsends to easily and safely self-host from your home.
- hamdingers 1y agoWhat kind of backup solution are you expecting? Every selfhosted app runs in docker, where the backup solution is back up the folders you mounted and the docker-compose.yml. To restore, put the folders back and run docker compose up again. I don't need every app to implement its own thing, that would be a waste of developer time.
- tracker1 1y ago+1 for the above... all my apps are under /app/appname/(compose and data)... my backup is an rsync script that runs regularly... when I've migrated, I'll compose down, then rsync then rsync to the new server, then compose up... update dns, etc. It's been a pretty smooth process. No, it's not a multi-region k8s cluster with auto everything.. but you can go a long way with docker-compose files that are well worth it.
- turtlebits 1y agoThat doesn't work for databases unless you stop the container. You'll likely end up with a corrupt backup.
- esseph 1y agoStreaming replication to a read-only DB off-site. Shut that one down and back it up from time to time. Then copy that to a third site with rsync/etc
- hamdingers 1y agoThen stop the container. A self hosted app can have a few minutes of downtime at 3am while the backup script runs.
- mamcx 1y ago? Any decent RDBMS can be backup live without issues. You only need to stop for restore (well without going with complex tricks)
- turtlebits 1y agoYes, but not by "simply" snapshotting the volume/disk as the previous poster suggested.
- wltr 1y agoWhat is Pangolin? I tried my search, but it returned the animal.
- turtlebits 1y agohttps://github.com/fosrl/pangolin https://github.com/fosrl/pangolin
- throwzasdf 1y ago[dead]
- bean469 1y ago> Tailscale and Pangolin are godsends to easily and safely self-host from your home. Instead of Tailscale, I can highly recommend self-hosting netbird[1] - very active project, works great and the UI is awesome! 1. https://github.com/netbirdio/netbird https://github.com/netbirdio/netbird
- udev4096 1y agoI would rather use headscale than netbird. Headscale is well established and very stable. netbird has a lot of problems and the fact their issue list is hardly looked at by the devs is more concerning
- aborsy 1y agoWill tailnet lock be available in the near future? Also several ports need to be opened. How is its history vulnerabilities?