CyberPanel Community

Backup database google drive

Tr
Trung #1

I used the backup feature on google driver in CyberPanel (Backup → Setup Google Drive) but the problem occurred that the backup file could not backup the databases MySQL. So, what should I do if I want to backup the databases?

Thank you!

6 replies
sh
shoaibkk #2

when you are creating a normal backup is the database file backedup?

Tr
Trung #3

I see no backup database (file database .sql 0 kb)

sh
shoaibkk #4

can you please open a ticket i have to check this issue in details

Fs
Felix s #5

Same issue here, mysql file is 0kb inside backup.

I suspect it’s because of Upgrading Mariadb manually as described here:

I did this for four of my servers, and then this issue appeared. I have no idea how to solve it.

An update with some findings:

Doing the backup manually with the following commands is also creating the same 0KB SQL file:

mysql -u user -p database > backup.sql
mariadb -u user -p database > backup.sql

The only command that is actually doing backup properly is:

mysqldump -u user -p database > backup.sql

Tr
Trung #6

I think the problem is because the mariaDB service is stopped and cannot be start. Looking forward to help.

Thank you!

sh
shoaibkk #7

show me out put of systemctl status mariadb

Sign in to reply