You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bu...@apache.org on 2016/12/18 07:16:00 UTC
svn commit: r1003033 - in /websites/staging/directory/trunk/content: ./
apacheds/basic-ug/1-how-to-begin.html
apacheds/basic-ug/1.5-sample-configuration.html
apacheds/basic-ug/1.6-backup-restore.html
apacheds/basic-ug/2-handling-data.html
Author: buildbot
Date: Sun Dec 18 07:16:00 2016
New Revision: 1003033
Log:
Staging update by buildbot for directory
Added:
websites/staging/directory/trunk/content/apacheds/basic-ug/1.6-backup-restore.html
Modified:
websites/staging/directory/trunk/content/ (props changed)
websites/staging/directory/trunk/content/apacheds/basic-ug/1-how-to-begin.html
websites/staging/directory/trunk/content/apacheds/basic-ug/1.5-sample-configuration.html
websites/staging/directory/trunk/content/apacheds/basic-ug/2-handling-data.html
Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Dec 18 07:16:00 2016
@@ -1 +1 @@
-1774290
+1774854
Modified: websites/staging/directory/trunk/content/apacheds/basic-ug/1-how-to-begin.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/basic-ug/1-how-to-begin.html (original)
+++ websites/staging/directory/trunk/content/apacheds/basic-ug/1-how-to-begin.html Sun Dec 18 07:16:00 2016
@@ -197,6 +197,7 @@ h2:hover > .headerlink, h3:hover > .head
</ul>
</li>
<li><a href="1.5-sample-configuration.html">1.5 - About the sample configurations and sample directory data</a></li>
+<li><a href="1.6-backup-restore.html">1.6 - Backup/Restore</a></li>
</ul>
Modified: websites/staging/directory/trunk/content/apacheds/basic-ug/1.5-sample-configuration.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/basic-ug/1.5-sample-configuration.html (original)
+++ websites/staging/directory/trunk/content/apacheds/basic-ug/1.5-sample-configuration.html Sun Dec 18 07:16:00 2016
@@ -162,7 +162,7 @@
</div>
<div class="nav_next">
- <a href="2-handling-data.html">2 - Handling data within your directory</a>
+ <a href="1.6-backup-restore.html">1.6. - Backup/Restore</a>
</div>
<div class="clearfix"></div>
@@ -278,7 +278,7 @@ In order to increase recognition, all ex
</div>
<div class="nav_next">
- <a href="2-handling-data.html">2 - Handling data within your directory</a>
+ <a href="1.6-backup-restore.html">1.6. - Backup/Restore</a>
</div>
<div class="clearfix"></div>
Added: websites/staging/directory/trunk/content/apacheds/basic-ug/1.6-backup-restore.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/basic-ug/1.6-backup-restore.html (added)
+++ websites/staging/directory/trunk/content/apacheds/basic-ug/1.6-backup-restore.html Sun Dec 18 07:16:00 2016
@@ -0,0 +1,226 @@
+<!DOCTYPE html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html>
+ <head>
+ <title>1.6. - Backup/Restore — Apache Directory</title>
+
+ <link href="./../../css/common.css" rel="stylesheet" type="text/css">
+ <link href="./../../css/green.css" rel="stylesheet" type="text/css">
+
+
+ <link rel="shortcut icon" href="./../../images/server-icon_16x16.png">
+
+ <!-- Google Analytics -->
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+ <script type="text/javascript">
+ _uacct = "UA-1358462-1";
+ urchinTracker();
+ </script>
+ </head>
+ <body>
+ <div id="container">
+ <div id="header">
+ <div id="subProjectsNavBar">
+ <a href="./../../">
+
+ Main
+
+ </a>
+ |
+ <a href="./../../apacheds">
+
+ <STRONG>ApacheDS</STRONG>
+
+ </a>
+ |
+ <a href="./../../studio">
+
+ Studio
+
+ </a>
+ |
+ <a href="./../../api">
+
+ LDAP API
+
+ </a>
+ |
+ <a href="./../../mavibot">
+
+ Mavibot
+
+ </a>
+ |
+ <a href="./../../escimo">
+
+ eSCIMo
+
+ </a>
+ |
+ <a href="./../../fortress">
+
+ Fortress
+
+ </a>
+ |
+ <a href="./../../kerby">
+
+ Kerby
+
+ </a>
+ </div><!-- subProjectsNavBar -->
+ </div><!-- header -->
+ <div id="content">
+ <div id="leftColumn">
+
+<div id="navigation">
+
+ <!--ul>
+ <li>
+ <a href="http://bit.ly/1n9YlQT" target="_blank">
+ <img src="./../../images/ApacheConBudapest.png" width="125" height="125" alt="I'm Speaking at ApacheCon Europe 2014! Join me!" title="I'm Speaking at ApacheCon Europe 2014! Join me!" border="0" style="margin-bottom:-3px;"/>
+ </a>
+ </li>
+ </ul-->
+ <h5>ApacheDS 2.0</h5>
+ <ul>
+ <li><a href="./../../apacheds/">Home</a></li>
+ <li><a href="./../../apacheds/news.html">News</a></li>
+ <li><a href="./../../apacheds/features.html">Features</a></li>
+ </ul>
+ <h5>Downloads</h5>
+ <ul>
+ <li><a href="./../../apacheds/downloads.html">ApacheDS 2.0.0-M23</a> <img src="./../../images/new_badge.gif" alt="" style="margin-bottom:-3px;" border="0"></li>
+ <li><a href="./../../apacheds/download-old-versions.html">Older versions</a></li>
+ </ul>
+ <h5>Documentation</h5>
+ <ul>
+ <li><a href="./../../apacheds/basic-user-guide.html">Basic User Guide </a></li>
+ <li><a href="./../../apacheds/advanced-user-guide.html">Advanced User Guide</a></li>
+ <li><a href="./../../apacheds/developer-guide.html">Developer Guide</a></li>
+ <li><a href="./../../apacheds/kerberos-user-guide.html">Kerberos User Guide</a></li>
+ <li><a href="./../../apacheds/configuration/ads-2.0-configuration.html">Configuration</a></li>
+ <li><a href="./../../apacheds/gen-docs/latest/apidocs">JavaDocs</a></li>
+ <li><a href="./../../apacheds/gen-docs/latest/xref">Cross-Reference</a></li>
+ </ul>
+
+
+ <h5>Support</h5>
+ <ul>
+ <li><a href="./../../mailing-lists-and-irc.html">Mailing Lists & IRC</a></li>
+ <li><a href="./../../sources.html">Sources</a></li>
+ <li><a href="./../../issue-tracking.html">Issue Tracking</a></li>
+ <li><a href="./../../commercial-support.html">Commercial Support</a></li>
+ </ul>
+ <h5>Community</h5>
+ <ul>
+ <li><a href="./../../contribute.html">How to Contribute</a></li>
+ <li><a href="./../../team.html">Team</a></li>
+ <li><a href="./../../original-project-proposal.html">Original Project Proposal</a></li>
+ <li><a href="./../../special-thanks.html" class="external-link" rel="nofollow">Special Thanks</a></li>
+ </ul>
+ <h5>About Apache</h5>
+ <ul>
+ <li><a href="http://www.apache.org/">Apache</a></li>
+ <li><a href="http://www.apache.org/licenses/">License</a></li>
+ <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+ <li><a href="http://www.apache.org/security/">Security</a></li>
+ </ul>
+
+</div><!-- navigation -->
+
+ </div><!-- leftColumn -->
+ <div id="rightColumn">
+
+
+ <div class="nav">
+ <div class="nav_prev">
+
+ <a href="1.5-sample-configuration.html">1.5 - About the sample configurations and sample directory data </a>
+
+ </div>
+ <div class="nav_up">
+
+ <a href="1-how-to-begin.html">1 - How to begin</a>
+
+ </div>
+ <div class="nav_next">
+
+ <a href="2-handling-data.html">2 - Handling data within your directory</a>
+
+ </div>
+ <div class="clearfix"></div>
+ </div>
+
+
+<style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<h1 id="16-backuprestore">1.6. - Backup/Restore<a class="headerlink" href="#16-backuprestore" title="Permanent link">¶</a></h1>
+<p>You may want to save your data in a safe place, and be able to restore them.</p>
+<p><strong>ApacheDS</strong> stores its data into a set of files, which are binary files. You can't simply copy those files in a backup directory, because there is no guarantee that their state is consistant when you do a copy (unless you have stopped the server while doing so) : one update operation might be running when you do a copy, and unless this update has been completed, the database is nt in a stable state.</p>
+<p>The current solution is to extract a LDIF from ApacheDS. You can do so either by using Apache Directory Studio, or through a script using the slapsearch utility, on the partition you are interested in. In any case, you must requests all the attributes, including the operational attributes (use the '+' special attributes for that purpose). Here is a sample command line that extract the data from the 'example' partition, on a default ApacheDS install :</p>
+<div class="codehilite"><pre>$ <span class="n">ldapsearch</span> <span class="o">-</span><span class="n">D</span> "<span class="n">uid</span><span class="p">=</span><span class="n">admin</span><span class="p">,</span><span class="n">ou</span><span class="p">=</span><span class="n">system</span>" <span class="o">-</span><span class="n">w</span> <span class="n">secret</span> <span class="o">-</span><span class="n">p</span> 10389 <span class="o">-</span><span class="n">h</span> <span class="n">localhost</span> <span class="o">-</span><span class="n">b</span> "<span class="n">dc</span><span class="p">=</span><span class="n">example</span><span class="p">,</span><span class="n">dc</span><span class="p">=</span><span class="n">com</span>" <span class="o">-</span><span class="n">s</span> <span class="n">sub</span> "<span class="p">(</span><span class="n">ObjectClass</span><span class="p">=</span><span class="o">*</span><span class="p">)</span>" <span class="o"
>*</span> <span class="o">+</span> <span class="o">></span> <span class="n">backup</span><span class="p">.</span><span class="n">ldif</span>
+</pre></div>
+
+
+<p>(note that you will have to change the password, port, server name and partition name to fits your setup)</p>
+<p>Restoring the database is a matter of starting frm a blank partition, and reimport the LDIF.</p>
+<p>Note : This is not really convenient. First, it requires that an external tool is present to run the extract. Second, reimporting a huge database will take a lot of time...
+We are working on a new system that guarantees that the file containing the data can be copied directly and restored as is.</p>
+
+
+ <div class="nav">
+ <div class="nav_prev">
+
+ <a href="1.5-sample-configuration.html">1.5 - About the sample configurations and sample directory data </a>
+
+ </div>
+ <div class="nav_up">
+
+ <a href="1-how-to-begin.html">1 - How to begin</a>
+
+ </div>
+ <div class="nav_next">
+
+ <a href="2-handling-data.html">2 - Handling data within your directory</a>
+
+ </div>
+ <div class="clearfix"></div>
+ </div>
+
+
+ </div><!-- rightColumn -->
+ <div id="endContent"></div>
+ </div><!-- content -->
+ <div id="footer">© 2003-2015, <a href="http://www.apache.org">The Apache Software Foundation</a> - <a href="./../../privacy-policy.html">Privacy Policy</a><br />
+ Apache Directory, ApacheDS, Apache Directory Server, Apache Directory Studio, Apache LDAP API, Apache Triplesec, Triplesec, Apache Mavibot, Mavibot, Apache eSCIMo, eSCIMo, Fortress, Apache Fortress, EnMasse, Apache EnMasse, Apache Kerby, Kerby
+ Apache, the Apache feather logo, and the Apache Directory project logos are trademarks of The Apache Software Foundation.
+ </div>
+ </div><!-- container -->
+ </body>
+</html>
\ No newline at end of file
Modified: websites/staging/directory/trunk/content/apacheds/basic-ug/2-handling-data.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/basic-ug/2-handling-data.html (original)
+++ websites/staging/directory/trunk/content/apacheds/basic-ug/2-handling-data.html Sun Dec 18 07:16:00 2016
@@ -152,7 +152,7 @@
<div class="nav">
<div class="nav_prev">
- <a href="1.5-sample-configuration.html">1.5. - About the sample configurations and sample directory data </a>
+ <a href="1.6-backup-restore.html">1.6. - Backup/Restore</a>
</div>
<div class="nav_up">
@@ -205,7 +205,7 @@ h2:hover > .headerlink, h3:hover > .head
<div class="nav">
<div class="nav_prev">
- <a href="1.5-sample-configuration.html">1.5. - About the sample configurations and sample directory data </a>
+ <a href="1.6-backup-restore.html">1.6. - Backup/Restore</a>
</div>
<div class="nav_up">