From de8270bbe950b265e20dee5d53389d422d3846d5 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 31 May 2007 20:23:15 +0000
Subject: [PATCH] This commit essentially removes the step of backing up the databases as part of an upgrade. There are concerns that this may take a long time or eat up lots of resources in cases where there is alot of data. Also if the data is important it is likely that there will be a separate backup strategy for this.
---
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeUserData.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeUserData.java b/opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeUserData.java
index 382449e..aa2a7eb 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeUserData.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeUserData.java
@@ -76,4 +76,15 @@
this.buildToDownload = build;
}
+ /**
+ * Indicates whether or not the upgrader should perform a
+ * backup of the databases as part of the upgrade.
+ * @return boolean where true indicates that the databases
+ * should be backed up
+ */
+ public boolean getPerformDatabaseBackup() {
+ // It would be nice to make this an option (see issue 1740)
+ return false;
+ }
+
}
--
Gitblit v1.10.0