Skip to content

Commit

Permalink
fix(backup): remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyKomodo committed Oct 11, 2024
1 parent 52fef74 commit 37343ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion docker/backup/clickhouse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ clickhouse() {

log "INFO" "Starting ClickHouse backup"

invoke bash -c "echo \"$backup_query\" | curl \"http://${user_info}${DB_HOST}:${DB_PORT}/?\" --data-binary @-"
invoke bash -c "echo \"$backup_query\" | curl \"http://${user_info}${DB_HOST}:${DB_PORT}/?\" --data-binary @- --fail-with-body"
}

clickhouse "$@"
4 changes: 0 additions & 4 deletions docker/backup/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@ s3_upload() {
# strip file from $OUTPUT_FILE
local ext=${file/#"$TMP_DIR/$OUTPUT_FILE"}

echo "ext: $ext"
echo "file: $file"
echo "OUTPUT_FILE: $OUTPUT_FILE"

local args=(
--endpoint-url "$S3_ENDPOINT"
s3
Expand Down

0 comments on commit 37343ff

Please sign in to comment.