| The one thing that gives me hypertension when self hosting a code repository is backups. The hard drive of your server can fail at any time and when self hosting you are responsible for your backups. This is giving me night terrors, especially when its on a cloud server and I don't have access to the hardware. Currently, I'm running a cron task once per day executing a simple backup script that does the following: Stop the Gitea container, copy the entire Gitea directory (including the docker-compose.yml and the data directory) to a backup folder, restart the container, sync that folder to a Backblaze bucket, delete the backup folder. Restoring the backup is (should) be as easy as downloading the bucket from Backblaze and simply docker-composing it up. I'm looking for other ideas advice that will help me sleep at night. Thanks! |
[0] - https://rsnapshot.org/
[1] - https://serverfault.com
[2] - https://linuxconfig.org/guide-to-rsnapshot-and-incremental-b...