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 the same a directory in the container.
- mysqldump is a more reliable option.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
- /var/lib/mysql is not present on the bitnami/mariadb:10.5.8 image so it must be mounted from one of the global mounts (mountPath: /dockerdata-nfs) oom/values.yaml at master · onap/oom · GitHub