Package org.exoplatform.services.jcr.impl.storage.jdbc.backup.util

Examples of org.exoplatform.services.jcr.impl.storage.jdbc.backup.util.RestoreTables.restore()


      int maxBufferSize =
         config.getContainer().getParameterInteger(JDBCWorkspaceDataContainer.MAXBUFFERSIZE_PROP,
            JDBCWorkspaceDataContainer.DEF_MAXBUFFERSIZE);

      RestoreTables restoreTable = new RestoreTables(null, tempDir, maxBufferSize);
      restoreTable.restore(storageDir, getDatasourceName(), tables);
   }
  
   /**
    * {@inheritDoc}
    */
 
View Full Code Here


        
         File tempDir = new File(PrivilegedSystemHelper.getProperty("java.io.tmpdir"));
         RestoreTables restoreTable = new RestoreTables(swapCleaner, tempDir, maxBufferSize);
        
         restoreTable.restore(storageDir, dbSourceName, tables);
      }
      catch (FileNotFoundException e)
      {
         throw new RestoreException(e);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.