Updated backup.sh to dump UTF8. (#17100)

#17099
This commit is contained in:
Victor Lyuboslavsky 2024-02-23 13:49:23 -06:00 committed by GitHub
parent 2c93c21889
commit 8e2ca6ea50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
docker run --rm --network fleet_default mysql:5.7 bash -c 'mysqldump -hmysql -uroot -ptoor fleet | gzip -' > backup.sql.gz
docker run --rm --network fleet_default mysql:5.7 bash -c 'mysqldump -hmysql -uroot -ptoor --default-character-set=utf8mb4 fleet | gzip -' > backup.sql.gz