Skip to content

Commit

Permalink
use full playerdata
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Dec 22, 2023
1 parent 7cd0e58 commit aa2a74d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,14 @@ spec:
- sh
- -c
- |
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 --databases flyway_managed_schema seichiassist --ignore-table=seichiassist.playerdata --ignore-table=seichiassist.mine_stack > /docker-entrypoint-initdb.d/seichiassist.sql
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 seichiassist playerdata --where 'lastquit > "2022-01-01 00:00:00"' >> /docker-entrypoint-initdb.d/seichiassist.sql
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 --databases flyway_managed_schema seichiassist --ignore-table=seichiassist.mine_stack > /docker-entrypoint-initdb.d/seichiassist.sql
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 seichiassist mine_stack --where 'amount != 0' >> /docker-entrypoint-initdb.d/seichiassist.sql
volumeMounts:
- mountPath: /docker-entrypoint-initdb.d
name: sqldump-volume
restartPolicy: Always
volumes:
- name: storage
emptyDir:
medium: Memory
sizeLimit: 3Gi
- name: sqldump-volume
- name: mariadb-config
configMap:
Expand Down

0 comments on commit aa2a74d

Please sign in to comment.