Skip to content

Backup fails: mysqldump deprecated #5373

@Backroads4Me

Description

@Backroads4Me

Describe the Bug

Use the system cli to execute a backup. I have historically done this with a cron job. For example:
/app/www/bookstack-system-cli backup /backups/bookstack.zip

Now the process fails due to mysqldump being deprecated on maria-db for mariadb-dump

Error received:
Checking system requirements...
Dumping the database via mysqldump...

An error occurred when attempting to run a command:

Failed mysqldump with errors:
/usr/bin/mysqldump: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb-dump' instead

Steps to Reproduce

Use the system cli to execute a backup.
For example: /app/www/bookstack-system-cli backup /backups/bookstack.zip

Expected Behaviour

bookstack.zip created

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v24.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions