Skip to content

Commit accb07b

Browse files
wangyeleiapecloud-bot
authored andcommitted
chore: set default ck restore cluster name (#2430)
(cherry picked from commit cac9de0)
1 parent d40afef commit accb07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/clickhouse/dataprotection/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ function set_clickhouse_backup_config_env() {
307307
export S3_BUCKET="${bucket}"
308308
export S3_PART_SIZE="${chunk_size}"
309309
export S3_PATH="${DP_BACKUP_BASE_PATH}"
310-
310+
export INIT_CLUSTER_NAME="${INIT_CLUSTER_NAME:-default}"
311311
export RESTORE_SCHEMA_ON_CLUSTER="${INIT_CLUSTER_NAME}"
312312
export CLICKHOUSE_HOST="${DP_DB_HOST}"
313313
export CLICKHOUSE_USERNAME="${CLICKHOUSE_ADMIN_USER}"

0 commit comments

Comments
 (0)