There are a number of ways to backup a MariaDB server.