Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup fails: mysqldump deprecated #5373

Open
Backroads4Me opened this issue Dec 25, 2024 · 2 comments
Open

Backup fails: mysqldump deprecated #5373

Backroads4Me opened this issue Dec 25, 2024 · 2 comments
Labels

Comments

@Backroads4Me
Copy link

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

@ssddanbrown
Copy link
Member

ssddanbrown commented Dec 26, 2024

Hi @Backroads4Me, Thanks for reporting.
I assume this is within the linuxserver container based upon the commands?

We'll probably need to add specific checks for mariadb-dump and use that instead as a higher priority default.

@Backroads4Me
Copy link
Author

That's correct, and it uses image: lscr.io/linuxserver/mariadb
My full uses case is using image: offen/docker-volume-backup to automatically backup Bookstack. Bookstack has historically ran the backup script daily and dumped the zip file to a bound volume then docker-volume-backup exports the zip file to Amazon S3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants