From aa2a74dde80ea4516ac9bace9373eb79cb900812 Mon Sep 17 00:00:00 2001 From: outductor Date: Fri, 22 Dec 2023 16:49:13 +0900 Subject: [PATCH] use full playerdata --- .../templates/mariadb/mariadb.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/mariadb.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/mariadb.yaml index b503e7b85..815347054 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/mariadb.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/mariadb.yaml @@ -98,8 +98,7 @@ 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 @@ -107,9 +106,6 @@ spec: restartPolicy: Always volumes: - name: storage - emptyDir: - medium: Memory - sizeLimit: 3Gi - name: sqldump-volume - name: mariadb-config configMap: