Skip to content

Commit

Permalink
fix backup url
Browse files Browse the repository at this point in the history
  • Loading branch information
liyaka committed Nov 17, 2024
1 parent 529a9c3 commit 2c68d3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- "/bin/bash"
- "-c"
args:
- export backupname=backup$(date +'%Y%m%d%H%M'); echo "BACKUP ALL EXCEPT DATABASE system TO S3('{{ .Values.clickhouse.backup.bucketURL }}', '$ACCESS_KEY', '$SECRET_KEY');" > /tmp/backQuery.sql; clickhouse-client -h clickhouse-opik-clickhouse --send_timeout 600000 --receive_timeout 600000 --port 9000 --queries-file=/tmp/backQuery.sql;
- export backupname=backup$(date +'%Y%m%d%H%M'); echo "BACKUP ALL EXCEPT DATABASE system TO S3('{{ .Values.clickhouse.backup.bucketURL }}/$backupname/', '$ACCESS_KEY', '$SECRET_KEY');" > /tmp/backQuery.sql; clickhouse-client -h clickhouse-opik-clickhouse --send_timeout 600000 --receive_timeout 600000 --port 9000 --queries-file=/tmp/backQuery.sql;
env:
- name: CLICKHOUSE_USER
value: {{ .Values.clickhouse.adminUser.username }}
Expand Down

0 comments on commit 2c68d3f

Please sign in to comment.