spatie / laravel-backup

A package to backup your Laravel app
https://spatie.be/docs/laravel-backup
MIT License
5.64k stars 763 forks source link

Mysqldump not found when using with MariaDB #1820

Closed gdarko closed 3 months ago

gdarko commented 3 months ago

Hey,

I am observing issues with the backup on servers that are running mariadb 11+.

As of MariaDB 11.0.1 the mysqldump utility was completely removed. Read more. Previously as of 10.05 it was deprecated and symlinked.

As a result the database backup features does not work with mariadb 11+ because mariadb is now using mariadb-dump. One option is to symlink mariadb-dump but this is manual work which no one expects to do, the other way is to add support to this package.

Best Regards, Darko

freekmurze commented 3 months ago

We're not using MariaDB ourselves.

Am I correct in assuming that MariaDB users now need to make sure mysqldump is available on their systems? If so, I'd appreciate a PR to our docs to make that clear.

gdarko commented 3 months ago

Hey @freekmurze - Yes, if they use 11.0.1 and onward they need to at least symlink mariadb-dump to mysqldump.

I will make a PR later today.