Database backup - RaiderIO/keystone.guru GitHub Wiki

Database backup

Database backup currently happens when a new deployment is done (pipeline is ran through Github Actions), but it also happens periodically through a tool called Backupninja which is configured on the server.

Periodically, every 4 hours, a full database backup is created. Every hour, a cron job is ran which will move the generated backup away from its location to a mounted volume. This mounted volume is my personal NAS which is hosted at my home. This situation is obviously not ideal and needs addressing in the (near) future.