You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/xar-resources/data/backup.xml
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
<bookinfo>
4
4
<productname>eXist-db – Open Source Native XML Database</productname>
5
5
<title>Database Backup and Restore</title>
6
-
<date>August 2012</date>
6
+
<date>27-11-2017</date>
7
7
<author>
8
8
<firstname>Wolfgang M.</firstname>
9
9
<surname>Meier</surname>
@@ -28,7 +28,10 @@
28
28
<title>Backup Format</title>
29
29
<para>During backup, eXist-db exports the contents of its database (as standard XML files)
30
30
to a hierarchy of directories on the hard drive. This hierarchy is organized
31
-
according to the organization of collections in the database.</para>
31
+
according to the organization of collections in the database.</para>
32
+
<para>The location of the backup files depends on backup method (s.b.). Backups via the dashboard,
33
+
or via XQuery write backups into the <code>export</code> directory inside the data directory of the eXist instance.
34
+
The Emergency Backup Tool writes into <code>$EXIST_HOME/export</code> unless configured otherwise.</para>
32
35
<para>Other files stored during backup include index configuration files and user
33
36
settings. Resource and collection metadata is exported to a special XML file, called
34
37
<filename>__contents__.xml</filename>, which lists information including the
@@ -47,12 +50,19 @@
47
50
all your users, you can simply edit the file <filename>users.xml</filename> by
48
51
removing the <option>password</option> attribute, or set it to a default value and
49
52
restore the document.</para>
53
+
<para>During backups eXist first runs a consistency check on the database,
54
+
trying to identify potential issues in the internal storage structure.
55
+
Based on the result of the check, the backup task attempts to rescue as much data as possible, working around any detected issues.</para>
50
56
<note>
51
57
<para> When migrating to a new eXist-db version, take care to use a version of the
52
58
client corresponding to your server version. Usually, the backup process is
53
59
backwards compatible. However, using a newer client version to create the backup
54
60
from a server running an older version may sometimes lead to unexpected
55
61
problems.</para>
62
+
<para>The backup files include a report. Normally this just contains the list of collections which were backed up.If you notice any warnings or errors,
63
+
it is especially important that you perform a “full restore” of your backed-up data onto the new installation of eXist,
64
+
as described in the <ulinkurl="backup.xml#restore">following steps.</ulink>
65
+
</para>
56
66
</note>
57
67
<important>
58
68
<para>Due to limitations of the ZIP format, please make sure the size of your zipped backup does
@@ -393,7 +403,7 @@
393
403
</step>
394
404
<step>
395
405
<para>Change into directory <filename>EXIST_HOME/webapp/WEB-INF/data</filename> or another directory you
396
-
specified as data directory in the configuration (conf.xml).</para>
406
+
specified as data directory in the configuration (conf.xml).</para> <!--new users don't know what or where (conf.xml) DP-->
397
407
</step>
398
408
<step>
399
409
<para>Remove all <filename>.dbx</filename>, <filename>.lck</filename> and
<productname>eXist-db – Open Source Native XML Database</productname>
5
+
<title>Incompatibilties</title>
6
+
<date>27-11-2017</date>
7
+
<author>
8
+
<firstname>Duncan</firstname>
9
+
<surname>Paterson</surname>
10
+
</author>
11
+
</bookinfo>
12
+
<chapter>
13
+
<title>Known Issues for Binary Non-compatible Upgrades</title>
14
+
<sectionid="v3.0.0">
15
+
<title>Upgrading to 3.0 stable</title>
16
+
<para>eXist-db v3.0 is not binary compatible with previous versions of eXist-db; the on-disk database file format has been updated, users should perform a full backup and restore to migrate their data.</para>
17
+
<para>eXist.db v3.0 and subsequent versions now require <emphasis>Java 8</emphasis>; Users must update to Java 8!</para>
18
+
<para>3.0 removes the the legacy Full Text Index and the text (http://exist-db.org/xquery/text) XQuery module. Users should now look toward <code>fn:analyze-string</code>, e.g.
19
+
<orderedlist>
20
+
<listitem>
21
+
<para>instead of using <code>text:groups()</code> use <code>analyze-string()//fn:group</code>,</para>
22
+
</listitem>
23
+
<listitem>
24
+
<para>instead of <code>text:filter("apparat", "([pr])")</code> use <code>analyze-string("apparat", "([pr])")//fn:match/string())</code>.</para>
25
+
</listitem>
26
+
</orderedlist>
27
+
</para>
28
+
<para>Furthermore, the SOAP APi, SOAP server, and XACML Security features were removed.</para>
29
+
<para>The versioning extension is now available as a separate <ulinkurl="https://github.com/eXist-db/xquery-versioning-module">EXPATH package</ulink>
30
+
</para>
31
+
<para>XQueryService has been moved from <code>DBBroker</code> to <code>BrokerPool</code>.</para>
32
+
<para>EXPath packages that incorporate Java libraries may no longer work with eXist-db v3.0 and may need to be recompiled for our API changes; packages should now explicitly specify the eXist-db versions that they are compatible with.</para>
33
+
<para>eXist-db v3.0 is the culmination of almost 1,500 changes. For more information on new features head to the <ulinkurl="http://exist-db.org/exist/apps/wiki/blogs/eXist//eXist-db-v3">blog</ulink>.</para>
34
+
</section>
35
+
<sectionid="v2.2">
36
+
<title>Upgrading to 2.2 final</title>
37
+
<para>The 2.2 release is not binary compatible with the 1.4.x series. You need to
38
+
backup/restore. If you experience problems with user logins after the restore, please restart eXist-db.</para>
39
+
<para>2.2 introduces a <emphasis>new range index module</emphasis>. Old index definitions will still work though as we made sure to keep backwards
40
+
compatible. If you would like to upgrade to the new index, check its <ulinkurl="newrangeindex.xml">documentation</ulink>.</para>
41
+
<para>The XQuery engine has been updated to support the changed syntax for <emphasis>maps in XQuery 3.1</emphasis>. The query parser will still accept the
42
+
old syntax for map constructors though (<code>map { x:= "y"}</code> instead of <code>map { x: "y" }</code> in XQuery 3.1), so old
43
+
code should run without modifications. All map module functions from XQuery 3.1 are
<para>The signatures for some <emphasis>higher-order utility functions</emphasis> like fn:filter, fn:fold-left and fn:fold-right have changed as well. Please review your
46
+
use of those functions. Also, fn:map is now called fn:for-each, though the old name is still accepted.</para>
47
+
<para>The bundled Lucene has been upgraded from 3.6.1
48
+
to 4.4 with this release. Depending on what Lucene
49
+
analyzers you are using you need to change the
50
+
classnames in your
51
+
<filename>collection.xconf</filename>s. E.g. KeywordAnalyzer
0 commit comments