Update Uptime Kuma

I noticed that if you update your GH Repo, the data is gone. I have a repository located at https://github.com/Pukimaa/uptime-kuma (Fork of the upstream uptime kuma as only personal repos are supported). However if I sync the fork and the deployment get's rebuild the data is gone. I guess this is due the filesystem being remade or something. Anyway to backup or even prevent the data from being purged? Project ID: 8ef57172-cefd-4460-b33b-8ca1767cc9c0 Happy Holidays btw 🎉
GitHub
GitHub - Pukimaa/uptime-kuma: A fancy self-hosted monitoring tool
A fancy self-hosted monitoring tool. Contribute to Pukimaa/uptime-kuma development by creating an account on GitHub.
7 Replies
Percy
Percy2y ago
Project ID: 8ef57172-cefd-4460-b33b-8ca1767cc9c0
Pukima
Pukima2y ago
Not solving due I want to have a way to prevent it ^^
Finn
Finn2y ago
The only way would be to extract a backup before each deploy. I guess this would be a question for the maintainers of the tool
Pukima
Pukima2y ago
The only way to truly backup is to copy the data directory in the deployment's filesystem. Is there a way I can somehow access it and modify it etc.?
Adam
Adam2y ago
Using the railway CLI you can open a shell but Railway is not the platform to store data, they don’t offer persistent storage You could always host a cloud bucket like amazon s3 There are no ways to prevent the data loss without hosting on a different platform
Pukima
Pukima2y ago
So I could just dump the dir via that. Not a thing that must be done frequently so it's fine ig