Skip to content
This repository was archived by the owner on Nov 28, 2020. It is now read-only.
This repository was archived by the owner on Nov 28, 2020. It is now read-only.

mysqldump needs extra setting to support newer nextcloud versions #5

@BoxedBrain

Description

@BoxedBrain

Problem:
As the newer versions of nextcloud need utf8mb4 support, the mysqldump should be run with --default-character-set=utf8mb4 to not break files/comments with emoji in it.
See also: https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/mysql_4byte_support.html

Also make sure your backup strategy still work. If you use mysqldump make sure to add the --default-character-set=utf8mb4 option. Otherwise your backups are broken and restoring them will result in ? instead of the emojis, making files inaccessible.

Suggestion:
Maybe add to the sql.details file another row we could set needed parameters our self?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions