Back to utf8mb4...
parent
c54da60071
commit
1cad07dc5c
|
@ -137,7 +137,7 @@ Backup database:
|
|||
source mailcow.conf
|
||||
# Create
|
||||
DATE=$(date +"%Y%m%d_%H%M%S")
|
||||
docker-compose exec mysql-mailcow mysqldump --default-character-set=utf8 -u${DBUSER} -p${DBPASS} ${DBNAME} > backup_${DBNAME}_${DATE}.sql
|
||||
docker-compose exec mysql-mailcow mysqldump --default-character-set=utf8mb4 -u${DBUSER} -p${DBPASS} ${DBNAME} > backup_${DBNAME}_${DATE}.sql
|
||||
```
|
||||
|
||||
### Backup maildir (simple tar):
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
FROM debian:jessie
|
||||
|
||||
RUN mkdir -p /data/dkim/keys \
|
||||
&& mkdir -p /data/dkim/txt \
|
||||
&& chown -R 33:33 /data/dkim
|
||||
VOLUME /data/dkim
|
||||
USER www-data
|
||||
CMD ["echo", "Data container for dkim keys"]
|
|
@ -1,10 +0,0 @@
|
|||
FROM debian:jessie
|
||||
|
||||
RUN groupadd -g 5000 vmail \
|
||||
&& useradd -g vmail -u 5000 vmail -d /var/vmail
|
||||
|
||||
RUN mkdir -p /var/vmail \
|
||||
&& chown -R 5000:5000 /var/vmail
|
||||
VOLUME /var/vmail
|
||||
USER vmail
|
||||
CMD ["echo", "Data container for mail"]
|
Loading…
Reference in New Issue