[opencms-dev] Technical information for a newbie

Arash Kaffamanesh kaffamanesh at dmu-world.de
Sat May 22 11:37:01 CEST 2004


Hi Peter,

The virtual file system (vfs) is stored through the database and if you
choose the dynamic mode to work with ocms, you won't be able to find any
of your files on the harddrive, unless you make a synchronization of the
vfs with your file system (see syncronization chapter in ocms docu and
also goto Administration view and klick on the synchronization button).

You can also run ocms in a static export enabled mode and enable it in
opencms.properties (set static_export=true), then you will see an icon
in the backoffice administration "Static Export" which will allow you to
export the vfs to the filesystem. After the first installation I think
the static_export is set to false, which you could change. In my case I
have the dynamic mode enabled and use the sync function to have my files
on the harddrive, change them and then sync them back to the vfs.

>> So how is it possible to save a file (e.g. 
index.html) in an mysql database?

The content of html pages are saved into the cells of the db tables as
string and the layout e.g jsp templates too, and then they will be
parsed together, so that you can see the result as html page.

In case of an backup, which files 
(including this vfs) do I need to backup?

Backup your opencms db and export your module through backoffice -->
goto module section --> select your module and click export

I hope it helps :-)
Regards
Arash 

-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] On Behalf Of Peter Höltschi
Sent: Saturday, May 22, 2004 10:12 AM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Technical information for a newbie


Dear Opencms-Dev-Team
I get to you because I couldn't find any answer to my questions (I went 
trough mailing-archive, documentations and the internet):
First I would like to know if there is any documentation which shows me 
where Website files (*.html, *.jsp, *.xml, *.gif, ...) are saved on my 
harddisk.. What is vfs? Where is the vfs on my disk? Is everything saved

in mysql? I thought that mysql consists only of tables which contains 
data like an Excel-Sheet. So how is it possible to save a file (e.g. 
index.html) in an mysql database? In case of an backup, which files 
(including this vfs) do I need to backup?

I would be appreciative if you could reply to all my questions to have a

better technical understanding of opencms.

Thanks in advance

Peter

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list