Alain M. wrote:
> I need to install XKiki on an internet hosting account on Linux. I don't 
> know anything of Java...
> 
> I installed xwiki-enterprise-hsqldb-1.3.2.zip and it worked just fine.
> 
> As far as I undesrtand, this runs with the database in memory. Can I 
> just change that instalation so that I have the database in the disk? I 
> do not expect to have a big database, but I need to make online backups :)

No, the database is stored on disc (see the database directory). It is 
loaded in memory at all time for better performance, but all changes are 
flushed to the disk every 30 seconds, if I remember correctly. The 
provided database system, hsqldb, is pretty good for small wikis, but 
you can change whenever you want to another DBMS, like the more popular 
mysql, postgresql or oracle. You need to copy the appropriate connector 
to the WEB-INF/lib directory 
(http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.5/mysql-connector-java-5.1.5.jar
 
for mysql) and edit WEB-INF/hibernate.cfg.xml (the file is commented 
pretty well, so you'll understand what you have to do). You need to 
export the current wiki (see Administration->Export) while still using 
the old database, and import it back in the new database.

> Is there a reason why I should not try that?
> 
> I have no Java experience and it can be a lot to learn just to make the 
> install...
> 
> Thanks,
> Alain

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to