Update backup.rst

Specify MariaDB command

Signed-off-by: Keunes <11229646+keunes@users.noreply.github.com>
This commit is contained in:
Keunes
2025-04-27 18:30:18 +02:00
committed by GitHub
parent 705b102967
commit 8af8cca1e7

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
^^^^^^
::