From 5fd947ce883d3d3a43ccd11b4d2613bf067cf823 Mon Sep 17 00:00:00 2001 From: Gavin Chou Date: Wed, 7 Jan 2026 17:58:53 +0800 Subject: [PATCH 1/2] [cloud](fdb) Fix missing backup agent in fdb.conf of fdb_ctl.sh --- tools/fdb/fdb_ctl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/fdb/fdb_ctl.sh b/tools/fdb/fdb_ctl.sh index fd6a5d03c0f868..b79d5f76da3a5b 100755 --- a/tools/fdb/fdb_ctl.sh +++ b/tools/fdb/fdb_ctl.sh @@ -332,7 +332,8 @@ datadir = ${DATA_DIR_ARRAY[${DIR_INDEX}]}/${PORT}" | tee -a "${FDB_HOME}/conf/fd echo "[backup_agent] command = ${FDB_HOME}/backup_agent -logdir = ${LOG_DIR}" >>"${FDB_HOME}/conf/fdb.conf" +logdir = ${LOG_DIR}" >>"${FDB_HOME}/conf/fdb.conf +[backup_agent.1]" echo "Deploy FDB to: ${FDB_HOME}" } From f94da4ef8199627e21720b04f9b1ad6b567737c8 Mon Sep 17 00:00:00 2001 From: Gavin Chou Date: Thu, 8 Jan 2026 13:04:26 +0800 Subject: [PATCH 2/2] Fix backup_agent configuration in fdb_ctl.sh --- tools/fdb/fdb_ctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/fdb/fdb_ctl.sh b/tools/fdb/fdb_ctl.sh index b79d5f76da3a5b..841f198bf12011 100755 --- a/tools/fdb/fdb_ctl.sh +++ b/tools/fdb/fdb_ctl.sh @@ -332,8 +332,8 @@ datadir = ${DATA_DIR_ARRAY[${DIR_INDEX}]}/${PORT}" | tee -a "${FDB_HOME}/conf/fd echo "[backup_agent] command = ${FDB_HOME}/backup_agent -logdir = ${LOG_DIR}" >>"${FDB_HOME}/conf/fdb.conf -[backup_agent.1]" +logdir = ${LOG_DIR} +[backup_agent.1]" >>"${FDB_HOME}/conf/fdb.conf" echo "Deploy FDB to: ${FDB_HOME}" }