From c09a5b1cda008a70f7eec73f0ddac3b07dc7282d Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Mon, 17 Mar 2025 14:42:06 +0800 Subject: [PATCH] update link of note of MDEV-30203 note from Mariadb --- manual/administration/backup_recovery.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manual/administration/backup_recovery.md b/manual/administration/backup_recovery.md index 355f51c3..c84fef99 100644 --- a/manual/administration/backup_recovery.md +++ b/manual/administration/backup_recovery.md @@ -54,7 +54,7 @@ mysqldump -h [mysqlhost] -u[username] -p[password] --opt seahub_db > /backup/dat ``` !!! danger "`mysqldump`: command not found" - You may encounter this problem on some machines with a minimal (from 10.5) or a newer (from 11.0) Mariadb server installed, of which the `mysql*` series of commands [have been fully deprecated](https://mariadb.com/kb/en/mysqldump/). If you encounter this error, use the `mariadb-dump` command, such as: + You may encounter this problem on some machines with a minimal (from 10.5) or a newer (from 11.0) Mariadb server installed, of which the `mysql*` series of commands [have been fully deprecated](https://jira.mariadb.org/browse/MDEV-30203). If you encounter this error, use the `mariadb-dump` command, such as: ```sh mariadb-dump -h [mysqlhost] -u[username] -p[password] --opt ccnet_db > /backup/databases/ccnet_db.sql.`date +"%Y-%m-%d-%H-%M-%S"` @@ -106,7 +106,7 @@ mysql -u[username] -p[password] seahub_db < seahub_db.sql.2013-10-19-16-01-05 ``` !!! danger "`mysql`: command not found" - You may encounter this problem on some machines with a minimal (from 10.5) or a newer (from 11.0) Mariadb server installed, of which the `mysql*` series of commands [have been fully deprecated](https://mariadb.com/kb/en/mysqldump/). If you encounter this error, use the `mariadb` command, such as: + You may encounter this problem on some machines with a minimal (from 10.5) or a newer (from 11.0) Mariadb server installed, of which the `mysql*` series of commands [have been fully deprecated](https://jira.mariadb.org/browse/MDEV-30203). If you encounter this error, use the `mariadb` command, such as: ```sh mariadb -u[username] -p[password] ccnet_db < ccnet_db.sql.2013-10-19-16-00-05 @@ -142,7 +142,7 @@ docker exec -it seafile-mysql mariadb-dump -u[username] -p[password] --opt seah ``` !!! tip - The default image of database is ***Mariadb 10.11*** from Seafile 12, you may not be able to find these commands in the container (such as `mysqldump: command not found`), since commands of `mysql*` series [have been gradually deprecated](https://mariadb.com/kb/en/mysqldump/). So we recommend that you use the `mariadb*` series of commands. + The default image of database is ***Mariadb 10.11*** from Seafile 12, you may not be able to find these commands in the container (such as `mysqldump: command not found`), since commands of `mysql*` series [have been gradually deprecated](https://jira.mariadb.org/browse/MDEV-30203). So we recommend that you use the `mariadb*` series of commands. However, **if you still use the *MySQL* docker image**, you should continue to use `mysqldump` here: @@ -182,7 +182,7 @@ docker exec -it seafile-mysql /bin/sh -c "mariadb -u[username] -p[password] seah ``` !!! tip - The default image of database is ***Mariadb 10.11*** from Seafile 12, you may not be able to find these commands in the container (such as `mysql: command not found`), since commands of `mysql*` series [have been gradually deprecated](https://mariadb.com/kb/en/mysqldump/). So we recommend that you use the `mariadb*` series of commands. + The default image of database is ***Mariadb 10.11*** from Seafile 12, you may not be able to find these commands in the container (such as `mysql: command not found`), since commands of `mysql*` series [have been gradually deprecated](https://jira.mariadb.org/browse/MDEV-30203). So we recommend that you use the `mariadb*` series of commands. However, **if you still use the *MySQL* docker image**, you should continue to use `mysql` here: