Backup MySQL

djcart

Verified User
Joined
Jun 29, 2021
Messages
125
After install mariadb I can't do backup for all users. In DA message I see information:

Performing MySQL backup
Stage 1 MySQL backup: Completed
Stage 2 MySQL backup: Stage 3 MySQL backup:
MySQL could not be started, aborting...
Performing cleanup operations: Completed


In backup folder I have only mysql.tar.gz file
 
Your MySQL is not running so fix this first, or try to rebuild
Code:
cd /usr/local/directadmin/custombuild/
./build update
./build mysql
 
Your MySQL is not running so fix this first, or try to rebuild
Code:
cd /usr/local/directadmin/custombuild/
./build update
./build mysql
Redirecting to /bin/systemctl status mysql.service
● mariadb.service - MariaDB 10.5.15 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: active (running) since Fri 2022-04-01 09:33:17 CEST; 6h ago
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/


How?
 
When I doing dumpmysql from custombuild to mysql_backups everything os fine. Softaculous also can save database.

Only DA backup have a problem.
 
I'm running into this exact issue with MariaDB non managed by DirectAdmin/Custombuild.
Did you see a fix?
 
Back
Top