How to backup standalone instalation
I have searced the xwiki site, list history, the web, subscribed to xwiki-users, before asking this: I am running xwiki standalone, the file is wiki-1.1-milestone-1.tar.gz and it says "Standalone installation including a Jetty container and an HSQLDB database all set up. Should be used by first-time users" Please tell me where are the files (or directories) that I need to save to have a full backup. Both database and configs but not the libs. It is running in /home/alain/dev/java/xwiki. I compared the original .tar.gz with my modified xwiki, appart from logs, only these files are different: db/xwiki_db.script db/xwiki_db.properties (only the date changed) temp/imageCache/ (empty directory, belongs to root) db/xwiki_db.script looks like an sql-dump, and my modifications are included. Could it be that a database dump is created every time I modify something? Anyway the database apears *not* to be inside the xwiki directory... PLEASE HELP, I want to make a full backup, but without all the libs and fixed stuff (the whole directory is 55Mb! ). Thansk for any help, Alain
Hi Alain, I think you've already asked this question. It's bad form to repost the same question again in the hope someone will answer without referring to the first question. It's also bad form the keep asking the same question without allowing more than 2 days between your different posts (so far you've sent 3 emails on the same topic). It's even worse when someone already answered your first question: http:// tinyurl.com/yw8pks Last, it's bad form to cross post to the different xwiki mailing lists (you've sent on both xwiki users and dev, in the hope of getting someone to answer you). BTW this question should NOT be posted to the dev list as it's a user question. Hope my first answer on xwiki-users helps you. If not I'm curious to know what's missing but please answer on xwiki-users. Thanks -Vincent On Jun 9, 2007, at 4:13 AM, [email protected] wrote:
I have searced the xwiki site, list history, the web, subscribed to xwiki-users, before asking this:
I am running xwiki standalone, the file is wiki-1.1- milestone-1.tar.gz and it says "Standalone installation including a Jetty container and an HSQLDB database all set up. Should be used by first-time users"
Please tell me where are the files (or directories) that I need to save to have a full backup. Both database and configs but not the libs. It is running in /home/alain/dev/java/xwiki.
I compared the original .tar.gz with my modified xwiki, appart from logs, only these files are different: db/xwiki_db.script db/xwiki_db.properties (only the date changed) temp/imageCache/ (empty directory, belongs to root)
db/xwiki_db.script looks like an sql-dump, and my modifications are included. Could it be that a database dump is created every time I modify something? Anyway the database apears *not* to be inside the xwiki directory...
PLEASE HELP, I want to make a full backup, but without all the libs and fixed stuff (the whole directory is 55Mb! ).
Thansk for any help, Alain
-- You receive this message as a subscriber of the xwiki- [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
Hi All, First of all, it is the *first time* I post *anything* on this list. So I do sincerely not believe that I stepped over any netiquete rules. I did make my reseash and I dis spend hours testind and searching. I just expected to be better received in this comunity. AND I didn't bet ANY usefull answers *at all*. Nobody seems to know were the database is, nor seems to care! Now that I have used my constitutional right to deffend myself, let's go to the point. ------------- Does anyone kow where the database is?????? Xwiki is the nices wiki around, but I cannot use it if no backup is possible! Details are in tha originaç message below. Thanks again to any nice soul that can help, Alain
On Jun 9, 2007, at 4:13 AM, [email protected] wrote:
I have searced the xwiki site, list history, the web, subscribed to xwiki-users, before asking this:
I am running xwiki standalone, the file is wiki-1.1-milestone-1.tar.gz and it says "Standalone installation including a Jetty container and an HSQLDB database all set up. Should be used by first-time users"
Please tell me where are the files (or directories) that I need to save to have a full backup. Both database and configs but not the libs. It is running in /home/alain/dev/java/xwiki.
I compared the original .tar.gz with my modified xwiki, appart from logs, only these files are different: db/xwiki_db.script db/xwiki_db.properties (only the date changed) temp/imageCache/ (empty directory, belongs to root)
db/xwiki_db.script looks like an sql-dump, and my modifications are included. Could it be that a database dump is created every time I modify something? Anyway the database apears *not* to be inside the xwiki directory...
PLEASE HELP, I want to make a full backup, but without all the libs and fixed stuff (the whole directory is 55Mb! ).
Thansk for any help, Alain
Hello Alain, Sorry if Vincent was a little harsh on you, I'm sure he didn't mean it. The database IS the dump you found in /db/ (all 3 files), there are no other files involved. This is the way hsldb works, it keeps the database in memory and dumps it to the file every 20 seconds (default value). See http://hsqldb.org/doc/guide/ch01.html#N10248 for more details. Of course, this only works for small wikis, but this is what the standalone package is for, trying xwiki. If you want to use it in a large environment, then you should setup a tomcat container and a serious database. On 6/10/07, Alain M. <[email protected]> wrote:
Hi All,
First of all, it is the *first time* I post *anything* on this list. So I do sincerely not believe that I stepped over any netiquete rules. I did make my reseash and I dis spend hours testind and searching. I just expected to be better received in this comunity.
AND I didn't bet ANY usefull answers *at all*. Nobody seems to know were the database is, nor seems to care!
Now that I have used my constitutional right to deffend myself, let's go to the point. -------------
Does anyone kow where the database is?????? Xwiki is the nices wiki around, but I cannot use it if no backup is possible!
Details are in tha originaç message below.
Thanks again to any nice soul that can help, Alain
Regards, Sergiu -- http://purl.org/net/sergiu
Thanks for the answer :) now I understand *and* I am sure that this is it. May I suggest that this information be included somewhere in the documentation...
Sorry if Vincent was a little harsh on you, I'm sure he didn't mean it.
Ok, the important thing is that we can work toghether. BTW, I am the same Alain M. in both lists. I just did't want to bother the devel list, so I asked first on the users list. Thansk, Alain
The database IS the dump you found in /db/ (all 3 files), there are no other files involved. This is the way hsldb works, it keeps the database in memory and dumps it to the file every 20 seconds (default value). See http://hsqldb.org/doc/guide/ch01.html#N10248 for more details. Of course, this only works for small wikis, but this is what the standalone package is for, trying xwiki. If you want to use it in a large environment, then you should setup a tomcat container and a serious database.
Alain, Vincent was juste refering to a few cross posting and the fact that he DID answer once in the users list. Don't take it badly, he is just trying to direct you to the correct behavior which instead of cross posting or resending was to answer his email to ask for clarifications. Concerning your issue. You said it yourself. The database file is xwiki_db.script. This is the way HSQLDB handles a database. Otherwise, if you wish to make a database independent backup of your wiki, you can also use the "Export" function available in the Administration of XWiki 1.0 and 1.1 Ludovic Alain M. a écrit :
Hi All,
First of all, it is the *first time* I post *anything* on this list. So I do sincerely not believe that I stepped over any netiquete rules. I did make my reseash and I dis spend hours testind and searching. I just expected to be better received in this comunity.
AND I didn't bet ANY usefull answers *at all*. Nobody seems to know were the database is, nor seems to care!
Now that I have used my constitutional right to deffend myself, let's go to the point. -------------
Does anyone kow where the database is?????? Xwiki is the nices wiki around, but I cannot use it if no backup is possible!
Details are in tha originaç message below.
Thanks again to any nice soul that can help, Alain
On Jun 9, 2007, at 4:13 AM, [email protected] wrote:
I have searced the xwiki site, list history, the web, subscribed to xwiki-users, before asking this:
I am running xwiki standalone, the file is wiki-1.1-milestone-1.tar.gz and it says "Standalone installation including a Jetty container and an HSQLDB database all set up. Should be used by first-time users"
Please tell me where are the files (or directories) that I need to save to have a full backup. Both database and configs but not the libs. It is running in /home/alain/dev/java/xwiki.
I compared the original .tar.gz with my modified xwiki, appart from logs, only these files are different: db/xwiki_db.script db/xwiki_db.properties (only the date changed) temp/imageCache/ (empty directory, belongs to root)
db/xwiki_db.script looks like an sql-dump, and my modifications are included. Could it be that a database dump is created every time I modify something? Anyway the database apears *not* to be inside the xwiki directory...
PLEASE HELP, I want to make a full backup, but without all the libs and fixed stuff (the whole directory is 55Mb! ).
Thansk for any help, Alain
------------------------------------------------------------------------
-- 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 Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost AIM: nvludo Yahoo: ludovic
Hi Alain, On Jun 10, 2007, at 6:25 PM, Alain M. wrote:
Hi All,
First of all, it is the *first time* I post *anything* on this list. So I do sincerely not believe that I stepped over any netiquete rules. I did make my reseash and I dis spend hours testind and searching. I just expected to be better received in this comunity.
How many Alain M are there on this list? A first email was sent by Alain M on the 2nd of June on the user list: http://tinyurl.com/24lhhl A second email was sent on exactly the same topic on the 2nd of June on the dev list (crossposted): http://tinyurl.com/2azlq5 A third email on exactly the same topic was sent by Alain M on the 7th of June on the user list: http://tinyurl.com/yw8pks Nabble says all these users are the same and are known as alainm-2. If by some miracle this is not you then I truly apologize... Anyway as I told you in my email I've already answered to your question so if you could please stop asking (you've asked again in your answer below!) and instead try to read my answer that I keep pointing you too that would be great (I did spend some of my free time during the week end answering you instead of spending it with my kids...).
AND I didn't bet ANY usefull answers *at all*. Nobody seems to know were the database is, nor seems to care!
Not true. See above. BTW your first message was quite nice and there was no need to cross post it. You would have received some answer anyway with such a nice message ;)
Now that I have used my constitutional right to deffend myself, let's go to the point. -------------
Does anyone kow where the database is?????? Xwiki is the nices wiki around, but I cannot use it if no backup is possible!
See my answer in http://tinyurl.com/yw8pks ;) -Vincent
Details are in tha originaç message below.
Thanks again to any nice soul that can help, Alain
On Jun 9, 2007, at 4:13 AM, [email protected] wrote:
I have searced the xwiki site, list history, the web, subscribed to xwiki-users, before asking this:
I am running xwiki standalone, the file is wiki-1.1- milestone-1.tar.gz and it says "Standalone installation including a Jetty container and an HSQLDB database all set up. Should be used by first-time users"
Please tell me where are the files (or directories) that I need to save to have a full backup. Both database and configs but not the libs. It is running in /home/alain/dev/java/xwiki.
I compared the original .tar.gz with my modified xwiki, appart from logs, only these files are different: db/xwiki_db.script db/xwiki_db.properties (only the date changed) temp/imageCache/ (empty directory, belongs to root)
db/xwiki_db.script looks like an sql-dump, and my modifications are included. Could it be that a database dump is created every time I modify something? Anyway the database apears *not* to be inside the xwiki directory...
PLEASE HELP, I want to make a full backup, but without all the libs and fixed stuff (the whole directory is 55Mb! ).
Thansk for any help, Alain
participants (5)
-
Alain M. -
alainm@pobox.com -
Ludovic Dubost -
Sergiu Dumitriu -
Vincent Massol