+// public LogicalBackup(BundleContext bundleContext, Repository repository, ZipOutputStream zout) {
+// this.repository = repository;
+// this.zout = zout;
+// this.basePath = null;
+// this.bundleContext = bundleContext;
+//}
+
+ @Override
+ public void run() {
+ try {
+ log.info("Start logical backup to " + basePath);
+ perform();
+ } catch (Exception e) {
+ e.printStackTrace();
+ throw new IllegalStateException("Logical backup failed", e);
+ }
+
+ }
+