diff --git a/tools/misc/dumpsql.sh b/tools/misc/dumpsql.sh index 1544bf2d..4042c0ca 100644 --- a/tools/misc/dumpsql.sh +++ b/tools/misc/dumpsql.sh @@ -20,32 +20,33 @@ tables_ic=tables_ic.lst mysql -h ${host} -P ${port} -u ${user} -p${password} -D ${dbname} -e "show tables ; " > tables.lst # dump table struct to install dir +echo -n "dump table struct to install directory ..." while read line do table=`echo $line | cut -d " " -f 1` - echo "dump ${table} to install directory" + #echo "dump ${table} to install directory" mysqldump -h ${host} -P ${port} -u ${user} -p${password} -d ${dbname} ${table} > ${insdir}/${table}.sql done < ${dumpdbdir}/${tables_s} +echo "done" # dump table struct and data to install dir +echo -n "dump table struct and data to install directory ..." while read line do table=`echo $line | cut -d " " -f 1` - echo "dump ${table} to install directory" + #echo "dump ${table} to install directory" mysqldump -h ${host} -P ${port} -u ${user} -p${password} ${dbname} ${table} > ${insdir}/${table}.sql done < ${dumpdbdir}/${tables_ic} - +echo "done" # dump table struct and data to upgrade, upgvue3 and install dir +echo -n "dump table struct and data to upgrade, upgvue3 and install directory ..." while read line do table=`echo $line | cut -d " " -f 1` - echo "dump ${table} to install & upgrade & upgvue3 directory" + #echo "dump ${table} to install & upgrade & upgvue3 directory" mysqldump -h ${host} -P ${port} -u ${user} -p${password} ${dbname} ${table} > ${insdir}/${table}.sql mysqldump -h ${host} -P ${port} -u ${user} -p${password} ${dbname} ${table} > ${upgdir}/${table}.sql mysqldump -h ${host} -P ${port} -u ${user} -p${password} ${dbname} ${table} > ${upgvue3dir}/${table}.sql done < ${dumpdbdir}/${tables_c} - - - - \ No newline at end of file +echo "done"