mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #6863 from nextcloud/jospoortvliet-patch-2
add the note about 4 byte support
This commit is contained in:
@@ -48,6 +48,10 @@ database engine. To backup MySQL/MariaDB::
|
||||
|
||||
mysqldump --single-transaction -h [server] -u [username] -p[password] [db_name] > nextcloud-sqlbkp_`date +"%Y%m%d"`.bak
|
||||
|
||||
If you use `4 byte support <https://docs.nextcloud.com/server/latest/go.php?to=mysql_4byte_support`_ in MySQL/MariaDB (needed for emoji), you will need to add ``--default-character-set=utf8mb4`` like this::
|
||||
|
||||
mysqldump --single-transaction --default-character-set=utf8mb4 -h [server] -u [username] -p[password] [db_name] > nextcloud-sqlbkp_`date +"%Y%m%d"`.bak
|
||||
|
||||
SQLite
|
||||
^^^^^^
|
||||
::
|
||||
|
||||
Reference in New Issue
Block a user