Yes 0.9.1 cannot be exported. There is a line that needs to be deleted in the xwikiattachment table. That's why I've attached a new version 0.9.2 on the backup page and exported a clean DB in the backup zip Ludovic CeDeROM wrote:
The scripts have been tested on Windows with cygwin.. Other cases might need changes to the scripts probably in env.sh
Ok, there was some jars missing on the webapp 0.9.887, so I have borrowed them from sources. also changed env.sh a bit:
XWIKIHOME=/usr/share/tomcat5/webapps/xwiki-0.9.887/WEB-INF (...) XWIKIPATH="$XWIKILIB/groovy-all-1.0-jsr-01.jar: (...) :$XWIKIHOM E/classes"
Now, backup facility works fine! I'm able to move xwiki from MySQL to PostgreSQL and probably others! THANK YOU LUDOVIC!
Some notes: -example database xwiki-db-0.9.1 seems to be buggy and cannot be converted by backup facility (there is error on converting attachments). -it is important to remember about jar connector files and includes, so the application can make connection to database :)
I will try to prepare few scripts for MySQL and PostgreSQL separately.
greetings! tomek
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic