Merge pull request #13084 from keunes/patch-3

Update backup.rst to specify MariaDB command
This commit is contained in:
Ferdinand Thiessen 2025-04-28 09:13:03 +02:00 committed by GitHub
commit 8b41d12ce4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,7 @@ MySQL/MariaDB
^^^^^^^^^^^^^
MySQL or MariaDB, which is a drop-in MySQL replacement, is the recommended
database engine. To backup MySQL/MariaDB::
database engine. To backup **MySQL**::
mysqldump --single-transaction -h [server] -u [username] -p[password] [db_name] > nextcloud-sqlbkp_`date +"%Y%m%d"`.bak
@ -52,6 +52,8 @@ If you use enabled MySQL/MariaDB 4-byte support (:doc:`../configuration_database
mysqldump --single-transaction --default-character-set=utf8mb4 -h [server] -u [username] -p[password] [db_name] > nextcloud-sqlbkp_`date +"%Y%m%d"`.bak
To backup **MariaDB**, replace `mysqldump` with `mariadb-dump` in the above commands.
SQLite
^^^^^^
::