From ae845ede61f0d8e52ba215462083e22f3ffae94f Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 18 May 2015 09:32:43 +0000
Subject: [PATCH] CR-6934 OPENDJ-1971 Document backup incompatibilities

---
 opendj-sdk/opendj-server-legacy/src/main/docbkx/release-notes/chap-compatibility.xml |   33 ++++++++++++++++
 opendj-sdk/opendj-server-legacy/src/main/docbkx/install-guide/chap-upgrade.xml       |   38 ++++++++++---------
 2 files changed, 52 insertions(+), 19 deletions(-)

diff --git a/opendj-sdk/opendj-server-legacy/src/main/docbkx/install-guide/chap-upgrade.xml b/opendj-sdk/opendj-server-legacy/src/main/docbkx/install-guide/chap-upgrade.xml
index a2d3468..fa2900b 100644
--- a/opendj-sdk/opendj-server-legacy/src/main/docbkx/install-guide/chap-upgrade.xml
+++ b/opendj-sdk/opendj-server-legacy/src/main/docbkx/install-guide/chap-upgrade.xml
@@ -9,8 +9,7 @@
   ! or send a letter to Creative Commons, 444 Castro Street,
   ! Suite 900, Mountain View, California, 94041, USA.
   !
-  ! You can also obtain a copy of the license at
-  ! trunk/opendj3/legal-notices/CC-BY-NC-ND.txt.
+  ! You can also obtain a copy of the license at legal-notices/CC-BY-NC-ND.txt.
   ! See the License for the specific language governing permissions
   ! and limitations under the License.
   !
@@ -24,13 +23,13 @@
   !
 -->
 <chapter xml:id='chap-upgrade'
- xmlns='http://docbook.org/ns/docbook' version='5.0' xml:lang='en'
- xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
- xsi:schemaLocation='http://docbook.org/ns/docbook
-                     http://docbook.org/xml/5.0/xsd/docbook.xsd'
- xmlns:xlink='http://www.w3.org/1999/xlink'
- xmlns:xinclude='http://www.w3.org/2001/XInclude'>
- <title>Upgrading to OpenDJ <?eval ${docTargetVersion}?></title>
+         xmlns='http://docbook.org/ns/docbook' version='5.0' xml:lang='en'
+         xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+         xsi:schemaLocation='http://docbook.org/ns/docbook
+                             http://docbook.org/xml/5.0/xsd/docbook.xsd'
+         xmlns:xlink='http://www.w3.org/1999/xlink'
+         xmlns:xinclude='http://www.w3.org/2001/XInclude'>
+ <title>Upgrading to OpenDJ ${docTargetVersion}</title>
  <indexterm><primary>Upgrading</primary></indexterm>
  
  <para>This chapter covers upgrade from OpenDJ 2.4.5 and later versions.</para>
@@ -57,16 +56,19 @@
   </step>
 
   <step>
-   <para>In order to revert if the upgrade fails, make sure you perform a
-   full backup of your current OpenDJ installation.</para>
+   <para>
+    In order to revert if the upgrade fails,
+    make sure you perform a full backup of your current OpenDJ installation.
+   </para>
 
-   <para>It might be most expedient to back up the file system directory where
-   the current OpenDJ server is installed as part of the upgrade process.</para>
-
-   <para>Alternatively, see <link xlink:href="admin-guide#chap-backup-restore"
-   xlink:show="new" xlink:role="http://docbook.org/xlink/role/olink"
-   ><citetitle>Backing Up &amp; Restoring Data</citetitle></link> for
-   instructions.</para>
+   <para>
+    Due to changes to the backup archive format,
+    make sure you stop OpenDJ directory server
+    and back up the file system directory
+    where the current OpenDJ directory server is installed
+    rather than creating a backup archive
+    with the <command>backup</command> command.
+   </para>
   </step>
  </procedure>
 
diff --git a/opendj-sdk/opendj-server-legacy/src/main/docbkx/release-notes/chap-compatibility.xml b/opendj-sdk/opendj-server-legacy/src/main/docbkx/release-notes/chap-compatibility.xml
index b855db9..ecb77d4 100644
--- a/opendj-sdk/opendj-server-legacy/src/main/docbkx/release-notes/chap-compatibility.xml
+++ b/opendj-sdk/opendj-server-legacy/src/main/docbkx/release-notes/chap-compatibility.xml
@@ -20,7 +20,7 @@
   !
   ! CCPL HEADER END
   !
-  !      Copyright 2011-2014 ForgeRock AS
+  !      Copyright 2011-2015 ForgeRock AS.
   !    
 -->
 <chapter xml:id='chap-compatibility'
@@ -53,6 +53,37 @@
 
    <listitem>
     <para>
+     Improvements that allow OpenDJ directory server
+     to use alternative backends have resulted in incompatible updates
+     to some backup archives:
+    </para>
+
+    <itemizedlist>
+     <listitem>
+      <para>
+       Configuration, schema, and task backend backup archives now all
+       have backup archives named
+       <filename>backup-<replaceable>backend-id</replaceable>-<replaceable>backup-id</replaceable></filename>.
+      </para>
+     </listitem>
+
+     <listitem>
+      <para>
+       The backup archive content for schema backends has changed.
+      </para>
+     </listitem>
+    </itemizedlist>
+
+    <para>
+     Rather than using a backup archive with the <command>backup</command> command,
+     use a file system backup if you must revert an upgrade to ${docTargetVersion}.
+     After successful upgrade, do not restore backup archives generated
+     with older versions of the <command>backup</command> command.
+    </para>
+   </listitem>
+
+   <listitem>
+    <para>
      LDAP SDK ${sdkDocTargetVersion}
      <filename>makeldif.template</filename> files
      are not backwards-compatible

--
Gitblit v1.10.0