Re: [Knobot-devel] backup / restore
Status: Beta
Brought to you by:
rebach
From: <re...@gm...> - 2007-03-05 12:22:34
|
dbu wrote: > if a got it correctly, the proper way to backup a web site driven by=20 > knobot is to download a dump of the model from /admin/dump.nt > =20 apart from this you should backup the directory called "hashstore" > however, when it comes to restore, i have a few questions: > /admin/upload > > - is it possible to overwrite an existing site? or do i have to wipe it= =20 > clean first? > =20 just check "Replace non-temporary statements" > - when i experimented with a fresh install, i had to first create a use= r=20 > and knobot initialyzed the database. after uploading the n-triples, all= =20 > entries in the admin page got duplicated. and i had an italian language= =20 > choice, where there was only en/fr/de before. > =20 check "Remove temporary statement in insertion", this should solve the duplicated items, not the language problem. the four languages gets added when knobot found no language at all (=3D fresh install), the autocreated languages should be removed when using "Replace non-temporary statements" > some more questions about the upload interface: > - what is the field "Base" for, how is it used? > =20 for rdf/xml uploads using relative URIs > - what should i choose about the "temporary statements"? > =20 the temporary statements are the configuration statements provided by the modules in META-INF/rwcf of the jars, these statements are added whenever the system boots. If such a triple is deleted it is not re-inserted, to "undo" all manual deletions use the admin entry "Reset manully deleted temporyry statements (the system statements will be reset at next boot)" <http://www.osar.ch/admin/reset-manually-deleted>. Replace non-temporary statements -> remove all existing triples but the configuration triples provided by the modules Remove temporary statement in insertion -> remove configuration triples from what is uploaded, this is not needed when the backup was made from /admin/dump.nt?non_temporary=3Dtrue otherwise needed. > - is it correct that, to have a complete backup, i need the triples and= =20 > the hashstore? or is there anything else? well, you're site may be using the old file-server-filter in which case this files have to be backuped as well, this is not the case if you upload the files using webdav or http-put in which case the date is in the model and hashstore. > what about imgupload and ftpupload? > =20 this has nothing todo with KnoBot, they are just regular folders for plain-old file-serving on osar.ch (they contain stuff from the old website, because there are many links around to those old documents). reto |