Commit 1e77309a authored by daidekun's avatar daidekun

revert

parent ae24100a
...@@ -23,8 +23,7 @@ config_file_name=$8 ...@@ -23,8 +23,7 @@ config_file_name=$8
db_backup_sub_folders=$9 db_backup_sub_folders=$9
port="" port=""
base_dir=/home/db_sync/ sync_config_folder=~/db_sync_configs
sync_config_folder=$base_dir/db_sync_configs
base_config_file=$sync_config_folder/base_config.json base_config_file=$sync_config_folder/base_config.json
mkdir $db_backup_sub_folders mkdir $db_backup_sub_folders
......
...@@ -33,14 +33,9 @@ target_db_pwd=$6 ...@@ -33,14 +33,9 @@ target_db_pwd=$6
sync_db_name=$7 sync_db_name=$7
re_replace_ip=$8 re_replace_ip=$8
base_dir=/home/db_sync
cd base_dir
work_dir=/home/quant_group/qa-deploy-utils/db-utils work_dir=/home/quant_group/qa-deploy-utils/db-utils
sync_config_folder=$base_dir/db_sync_configs sync_config_folder=~/db_sync_configs
db_backup_folder=$base_dir/db_backups db_backup_folder=~/db_backups
echo sync_config_folder
echo db_backup_folder
function db_schema_sync() function db_schema_sync()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment