Test backup functionality provided by OOM: oom/cronjob.yaml at master · onap/oom · GitHub
...
- mariabackup does not work remotley [MDEV-15075] unless the /var/lib/mysql directory from the database host can be mapped to a directory in the container.
- mysqldump is another option and doesn't need to copy files from the file system.
- mariabackup must be the same version as the one your database is using (the bitnami/mariadb:10.5.8 image used by OOM (mariabackup based on MariaDB server 10.5.8-MariaDB Linux (x86_64)) is not compatible with the database running on my localhost ) oom/values.yaml at master · onap/oom · GitHub
- Looking in oom/values.yaml at master · onap/oom · GitHub datadir=/bitnami/mariadb/data, I don't see this directory mounted in the cronjob. Only 2 mounthPaths present mountPath: /backup and mountPath: /etc/localtime. I assume any additional directories required are being mounted by : include "some common mechanism.storageClass"
- Work is currently being done on this project, a new stateful set template was added recently and includes references to MARIADB_GALERA_MARIABACKUP_USER and MARIADB_GALERA_MARIABACKUP_PASSWORD which are no in the current backup cronjob.