forked from huawei/openGauss-server
commit
ee30df5221
|
@ -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
|
||||||
|
|
|
@ -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. "
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue