Databases

MariaDB

This database is installed by using the MariaDB operator

Hosted applications

Disaster Recovery

Every first day of the month, a backup job is triggered by using the Backup resource, which creates a CronJob on the cluster. The data are uploaded to AWS S3 through the operator. The AWS user and the attached policies are completely isolated and reflect the ‘Least privilege’ principle. However, when needed, I perform a manual backup by issuing this command.

kubectl create job --from=cronjob/mariadb-backup backup-job-manual --namespace bookstack-mariadb

PostgreSQL

This database is installed by using the using the Cloudnative PG Operator

Hosted applications

Disaster Recovery

Actually there is no automatic backup, the backup is performed by creating a Backup resource on the cluster. Just like the MariaDB database the backup are stored in AWS S3. However, it is already setted up for automatic recovery via bootstrap spec