distributeaid / toolbox

DistributeAid Toolbox
http://distributeaid.org
GNU Affero General Public License v3.0
3 stars 1 forks source link

Database backups #63

Open pedro-gutierrez opened 3 years ago

pedro-gutierrez commented 3 years ago

Is your feature request related to a problem? Please describe. At the moment, the staging toolbox deployment we have at https://toolbox-staging-distributeaid.cloud.okteto.net contains a Postgres database that is not backed up.

Describe the solution you'd like An procedure that performs automated backups of the Postgres database into a cloud storage (S3, Google). We could implement this with a bit of extra code in k8s.yaml by adding a periodic Kubernetes Job (https://kubernetes.io/docs/concepts/workloads/controllers/job/).

Likewise, we would need APIs to list, select and restore an existing database snapshot.