Skip to content

Commit

Permalink
add some output to restore script
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Sep 3, 2024
1 parent 8495f65 commit 22950aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions k8s/jobs/singleWikiRestore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
- '-c'
- |
mysql --show-warnings --host sql-mariadb-primary.default.svc.cluster.local ${DATABASE_NAME} < /backup/${DATABASE_NAME}.sql
if [[ $? == 0 ]]; then echo "SQL import successful"; else echo "Error while importing SQL"; fi
volumeMounts:
- name: temporary-backup-pvc
mountPath: "/backup/"
Expand Down

0 comments on commit 22950aa

Please sign in to comment.