fix: fallback to mysqldump if mariadb-dump isn't available
This commit is contained in:
parent
e47492b4db
commit
fc16af2ac9
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ class BackupGenerator:
|
|||
from frappe.utils.change_log import get_app_branch
|
||||
|
||||
db_exc = {
|
||||
"mariadb": ("mariadb-dump", which("mariadb-dump")),
|
||||
"mariadb": ("mariadb-dump", which("mariadb-dump") or which("mysqldump")),
|
||||
"postgres": ("pg_dump", which("pg_dump")),
|
||||
}[self.db_type]
|
||||
gzip_exc = which("gzip")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue