# Setup highly available/redundant (multi-server) dynamic one-site hosting with whole server backups?

**URL:** <https://forum.virtualmin.com/t/setup-highly-available-redundant-multi-server-dynamic-one-site-hosting-with-whole-server-backups/127813>\
**Category:** Help! (Home for newbies)\
**Created:** [July 10, 2024, 11:43am UTC](https://forum.virtualmin.com/t/setup-highly-available-redundant-multi-server-dynamic-one-site-hosting-with-whole-server-backups/127813 "2024-07-10T11:43:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![hetzvirtualmin](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/h/ed655f/32.png) [@hetzvirtualmin](https://forum.virtualmin.com/u/hetzvirtualmin)\
**Post date:** [July 19, 2024, 6:27am UTC](https://forum.virtualmin.com/t/setup-highly-available-redundant-multi-server-dynamic-one-site-hosting-with-whole-server-backups/127813/4 "2024-07-19T06:27:50Z")

</div>

> [@stefan1959](#):
>
> > [@hetzvirtualmin](#):
> >
> > MySQL5.7
> 
> Well virtualmin installs MariaDB version 10

There are some steps on how to replace MariaDB by MySQL:

> [@Need procedure for installing MySQL instead of MariaDB](https://forum.virtualmin.com/t/need-procedure-for-installing-mysql-instead-of-mariadb/110503/6):
>
> To save head-scratching and hair-pulling of anyone intending to do this, here’s how it goes: According to [MySQL :: MySQL 8.0 Reference Manual :: 2.10.4 Securing the Initial MySQL Account](https://dev.mysql.com/doc/refman/8.0/en/default-privileges.html) : Installation using RPM packages generates an initial random password, which is written to the server error log. But no, that’s not correct. In the log the password is not output, and instead there are messages that encourage to run a command to change the root password, which does not run, of course, becaus…

Though such replacement may cause issues as mentioned on same page under later post:

> [@Need procedure for installing MySQL instead of MariaDB](https://forum.virtualmin.com/t/need-procedure-for-installing-mysql-instead-of-mariadb/110503/16):
>
> Here’s an update for anyone who decides to go down this volcano rocky route: Numerous tests and attempts were made. I’m not a total noob when it comes to Linux, webmin, and Virtualmin, but it really took plenty of effort to get to the conclusions: +----------+---------+-----------------------------------------------------+ | OS | MySQL | Comment | +----------+---------+-----------------------------------------------------+ | CentOS 8 | Ver …

Another replacement steps:

> [@MySQL DB not compatible with Maria DB](https://forum.virtualmin.com/t/mysql-db-not-compatible-with-maria-db/118162/5):
>
> A Virtualmin backup only backs up databases by performing a mysqldump. That is the only way to safely backup a database…the binary files are not guaranteed to work from one version to another, and definitely won’t work going from MySQL to Mariadb. If a restore fails because of the database, you’ll either need to munge the data manually or stick with MySQL. We’re not experts on migrations from MySQL to MariaDB. Mostly, it Just Works, as the two are very nearly compatible. But, they have begun t…

> [@Virtualmin installation with MySql, not MariaDB](https://forum.virtualmin.com/t/virtualmin-installation-with-mysql-not-mariadb/114838/4):
>
> You cannot. We cannot and will not support old installations of Virtualmin (and repos for old installer versions are periodically deleted to prevent people from using old unsupported versions). (And, how the hell did you interpret my comment there as being a suggestion to install an old version of Virtualmin?) Switching to MySQL is covered in several other posts in our forums (be careful about who you take advice from, as well…if it isn’t me or other staff, maybe keep reading for follow ups fr…

[https://blogs.oracle.com/mysql/post/how-to-migrate-from-mariadb-to-mysql-80](https://blogs.oracle.com/mysql/post/how-to-migrate-from-mariadb-to-mysql-80) \<\<\<\<

It is worrisome for a layman needing to manually switch from MDB to MSQ. I am already having established site with populated database 10.6.18-MariaDB-cll-lve . My script provider is using MySQL, but told me i may stay on a MariaDB. So that may not be a big problem.

Can anyone please address the main questions in the 1st post of this thread regarding clustering/high availability? I would like to stay away from a load balancing setup with single load balancer (a signle point of a failure) and I think I would need a tutorial. Thank you in advance.

---

_[View the full topic](https://forum.virtualmin.com/t/setup-highly-available-redundant-multi-server-dynamic-one-site-hosting-with-whole-server-backups/127813)._
