by hamdingers · 1y ago · 0 comments
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.
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.
Shut that one down and back it up from time to time.
Then copy that to a third site with rsync/etc
Any decent RDBMS can be backup live without issues. You only need to stop for restore (well without going with complex tricks)
A self hosted app can have a few minutes of downtime at 3am while the backup script runs.