Update on my backup & recover issues:
On Aug 7, 2006, at 5:46 PM, Anne-Marie Scheidegger wrote:
Hi list
I've just tested the backup & recovery process with our first
Magnolia 3.0 RC 2 application and would be happy to share my
experience and write it up for the Wiki page. However, I still have
three unresolved issues:
1. When I try to backup from the root path (see below mgnlPath=/),
it fails with the following exception:
2006-08-07 15:51:08 StandardWrapperValve[ImportExportServlet]:
Servlet.service() for servlet ImportExportServlet threw exception
org.apache.commons.lang.exception.NestableRuntimeException:
javax.jcr.RepositoryException: java.io.IOException: The character
'' is an invalid XML character: java.io.IOException: The character
'' is an invalid XML character
[..., let me know if you think the rest of the stack might be
interesting to look at]
I submitted it to JIRA, see MAGNOLIA-1000.
When I specify a directory for the mgnlPath argument, it works. It
seems that it gets confused about where its root is, because the
tomcat.log is also littered with the following error message:
INFO | jvm 1 | 2006/07/15 20:42:50 | ERROR
info.magnolia.context.MgnlContext MgnlContext.java(getInstance:291)
15.07.2006 20:42:50 Context is not set, defaulting to System Context
And there's one more weirdness in our application that points to a
similar problem:
1.a. When I copy a page and place it with a mouse click inside the
same directory, it fails to copy it. I can only copy it by clicking
with the mouse on the name of the directory. (On the root level, it
moves it instead of copying it, and if you place it at the end, it
works.) Does anybody else have the same problem?
I submitted it to JIRA, see MAGNOLIA-1001.
2. The documentation says to use the mgnl-export servlet to avoid
corrupted xml files. However, I have had empty xml files this way.
The same script runs every night - sometimes it produces a full xml
file, sometimes it produces an empty file. Anybody else?
I think this was mine: I had the xml files backed up at about the
same time the mgnl-export runs. Since adjusting the timing of the
cronjobs a week ago, I have not had empty xml files.
3. The popup-menu in the security panel doesn't offer exporting the
data to an xml file. However, the mgl-export servlet takes
mgnlRepository=users as argument without producing errors. And when
I look at the xml file, it seems to list the user data. So how
would I "play it back" when I need to recover the system? What is
the reasoning behind not having it in the menu? Is there a
different model for backup & recovery of security data?
I submitted it to JIRA, see MAGNOLIA-1002.
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------