Package org.exoplatform.services.jcr.ext.backup.impl

Examples of org.exoplatform.services.jcr.ext.backup.impl.BackupScheduler.unschedule()


      }

      // play with incremental
      addContent(ws1TestRoot, 1, 20, 1);

      scheduler.unschedule(config);

      log.info("-----------------[ restore ]-------------------------");
      // restore
      restoreAndCheck("ws1back.incr5", "jdbcjcr6", bch.getLogFilePath(), backDir, 1, 20);
   }
View Full Code Here


      }

      // play with incremental, each node will be added after 500ms
      addContent(ws1TestRoot, 1, 20, 1100); // 20 * 1100 = 220000 ms = 22sec

      scheduler.unschedule(config);

      log.info("-----------------[ restore ]-------------------------");
      // restore
      restoreAndCheck("ws1back.incr6", "jdbcjcr7", bch.getLogFilePath(), backDir, 1, 20);
   }
View Full Code Here

      addContent(ws1TestRoot, 21, 40, 1);

      // Stop backup
      Thread.sleep(10000); // for last started chain
      scheduler.unschedule(config);

      log.info("-----------------[ restore #1 ]-------------------------");
      restoreAndCheck("ws1back.incr12", "jdbcjcr15", bch1.getLogFilePath(), backDir, 1, 20);

      log.info("-----------------[ restore #2 ]-------------------------");
View Full Code Here

      addContent(ws1TestRoot, 21, 40, 15);

      // Stop backup
      Thread.sleep(10000); // for last started chain
      scheduler.unschedule(config);

      log.info("-----------------[ restore #1 ]-------------------------");
      restoreAndCheck("ws1back.incr14", "jdbcjcr17", bch1.getLogFilePath(), backDir, 1, 20);

      log.info("-----------------[ restore #2 ]-------------------------");
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.