Does HA backups include database?

I have a HA installation in kubernetes that uses a mariadb database, when I run a backup in HA does that include the database or do I need to back that up separately and in the case of restore first restore the db and then the HA backup ?

Depends on how you have that setup. What version of HA are you running? If it is HA-OS, what I assume, than the database is included in the backup. Either being it the default SQLi file or the complete Add-on MariaDB.

But to be sure, check it for yourself:

  • do a full backup of HA
  • download the archive to your computer (.tar)
  • open the archive with ie. 7-Zip and take a look into it
  • you’ll see all the Add-ons that have been backed up, in case of MariaDB it should be core_mariadb.tar.gz
1 Like

Thanks,

I am running 2023.7 core in a (Kubernetes) container and the database runs on a separate Mariadb container. When I open the tar file, there isn’t anything there that resembles a database backup, so I assume I need a separate backup of the maridb

Yep, in that case you need to take care of it by yourself. The Add-on will only be safed, if it is installed as Add-on in HA. :slight_smile:

To be totally clear, there are no kubernetes installation of HA:

  1. That are supported
  2. That could support addons

But someone running HA in K8S definitely doesn’t care about addons :joy:

1 Like

Thanks, I am aware, its just the way I chose to run my containers :grinning:

1 Like

If you one day have too much time on your hands, you could share some more infos about your setup, might be interesting, not only for me. :slight_smile:

1 Like