编程语言java 操作数据库备份

编程语言java 操作数据库备份
DbBackUpCallable implements Callable= .tableName == pros.getProperty();
                String DBSeverport = pros.getProperty();
                String dbtype = pros.getProperty();
                String username = pros.getProperty();
                String password = pros.getProperty();
                String address = pros.getProperty();
                String databaseName = pros.getProperty();
                String dbpath = pros.getProperty();
                String sqlpath = pros.getProperty();
                String ffilename == (!= sqlpath+DateUtil.getDays()+;
                    (.equals(remoteDB)){
                        commandStr = DbFH.getExecStr(dbtype,dbpath,,username,password,sqlpath,tableName,databaseName,ffilename);
                        Socket ss = = = =  Socket(address, Integer.parseInt(DBSeverport));
                        bb = = +commandStr++sqlpath);    = =( returnstr;    = {
                        FileUtil.createDir(sqlpath+= DbFH.getExecStr(dbtype,dbpath,address,username,password,sqlpath,tableName,databaseName,ffilename);
                        Runtime cmd =={
                    String spath = sqlpath + databaseName + +ffilename + ;
                    String bakSQL = +databaseName+;
                    PreparedStatement bak =, spath);
                    bak.execute();             =(= (=( sqlpath+databaseName++ffilename+ sqlpath+tableName++ffilename+
     = (=    .equals(tableName)?databaseName++ffilename:tableName++ffilename)+
        } ((.equals(tableName)){
                sb.append(+username++password++sqlpath+username++ffilename++sqlpath+username++ffilename++{
                sb.append(+username++password++sqlpath+tableName++ffilename++sqlpath+tableName++ffilename++username++tableName+ 

   www.awaedu.com  www.somanba.cn
(0)

相关推荐