Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Test backup functionality provided by OOM: oom/cronjob.yaml at master · onap/oom · GitHub

...

  1. 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.
  2. mysqldump is another option and doesn't need to copy files from the file system.
  3. 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
  4. /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) 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 resources: {{ include "common.resources" . | nindent 12 }}