[
http://jira.jboss.com/jira/browse/JBRULES-571?page=comments#action_12355874 ]
Michael Neale commented on JBRULES-571:
---------------------------------------
API is easy - JCR provides ability to export and import the "system view" -
PLEASE NOTE: this should ONLY EVER include the drools:repository node - you CAN NOT
restore or erase the jcr:system to level node.
So we need a few things
* A new tab on the "admin" page which has backup/restore
* The ability to generate and download from the browser an XML file of the repo
* The ability to erase all the content (with MULTIPLE WARNINGS !) - should be secured
functionality (or perhaps we provide a command line util?)
* The ability to upload a file which was previously downloaded, and import the content.
Uploading and downloading files is done in the ModelAttachmentFileWidget - it uses a
seperate servlet to do this.
Export-Import from XML (for backup and migration)
-------------------------------------------------
Key: JBRULES-571
URL:
http://jira.jboss.com/jira/browse/JBRULES-571
Project: JBoss Rules
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Reporter: Michael Neale
Assigned To: Michael Neale
Need to have an admin tool, or API, which can be called from the UI to export the content
to XML, and then load the content (plus clear the repository).
Ideally this will use the export* and importXML method in JCR (the Jackrabbit backup tool
is also possible). the XML format in JCR is cross platform, so in theory this should
provide portability, but having some issues at the moment not being able to import.
As a database will be recommended configuration, Sysadmin type backup/restore can be done
using the normal database tools.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira