forked from huawei/openGauss-server
小型化增加gs probackup
This commit is contained in:
parent
7ddd053f55
commit
b33b47a9bd
|
@ -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
|
||||
|
|
|
@ -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. "
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue