!1633 小型化增加gs probackup

Merge pull request !1633 from 吴岳川/master
This commit is contained in:
opengauss-bot 2022-03-30 03:41:23 +00:00 committed by Gitee
commit ee30df5221
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@
./bin/gs_restore ./bin/gs_restore
./bin/pg_config ./bin/pg_config
./bin/pg_controldata ./bin/pg_controldata
./bin/gs_probackup
./bin/pg_resetxlog ./bin/pg_resetxlog
./bin/alarmItem.conf ./bin/alarmItem.conf
./bin/retry_errcodes.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 echo "Begin generate ${bin_name} bin file..." >> "$LOG_FILE" 2>&1
curpath=$(pwd) curpath=$(pwd)
cd $2 cd $2
tar -zcf ${bin_name} . >> "$LOG_FILE" 2>&1 tar -zcf ${curpath}/${bin_name} . >> "$LOG_FILE" 2>&1
mv ${bin_name} ${curpath}
cd ${curpath} cd ${curpath}
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Please check and makesure '7z' exist. " echo "Please check and makesure '7z' exist. "

View File

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