sh $work_dir/db_gen_config.sh $source_db_host$source_db_user$source_db_pwd$target_db_host$target_db_user$target_db_pwd$database$config_file_name$db_backup_sub_folders$use_cache
sh $work_dir/db_gen_config.sh $source_db_host$source_db_user$source_db_pwd$target_db_host$target_db_user$target_db_pwd$database$config_file_name$db_backup_sub_folders$use_cache
cd$db_backup_sub_folders
cd$db_backup_sub_folders
file_count=`ls-l*.sql | wc-l`
file_count=`ls-l| grep .sql$| wc-l`
echo"./*.sql file count is $file_count"
echo"./*.sql file count is $file_count"
if["$file_count"-gt 0 ];then
if["$file_count"-gt 0 ];then
echo"--- Step 2: replace domain name in tables: $database$db_backup_sub_folders ---"
echo"--- Step 2: replace domain name in tables: $database$db_backup_sub_folders ---"