小型化增加gs probackup

This commit is contained in:
wuyuechuan 2022-03-28 17:19:54 +08:00
parent 7ddd053f55
commit b33b47a9bd
3 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@
./bin/gs_restore
./bin/pg_config
./bin/pg_controldata
./bin/gs_probackup
./bin/pg_resetxlog
./bin/alarmItem.conf
./bin/retry_errcodes.conf

View File

@ -631,8 +631,7 @@ function target_file_copy()
echo "Begin generate ${bin_name} bin file..." >> "$LOG_FILE" 2>&1
curpath=$(pwd)
cd $2
tar -zcf ${bin_name} . >> "$LOG_FILE" 2>&1
mv ${bin_name} ${curpath}
tar -zcf ${curpath}/${bin_name} . >> "$LOG_FILE" 2>&1
cd ${curpath}
if [ $? -ne 0 ]; then
echo "Please check and makesure '7z' exist. "

View File

@ -11,6 +11,7 @@
./bin/pg_config
./bin/pg_controldata
./bin/pg_resetxlog
./bin/gs_probackup
./bin/alarmItem.conf
./bin/retry_errcodes.conf
./bin/cluster_guc.conf