Author: andre
Date: 2009-05-12 11:26:09 +0200 (Tue, 12 May 2009)
New Revision: 35079
Modified:
mmbase/trunk/documentation/backenddevelopers/storage/conversions.xml
Log:
step-by-step instructions to convert blobs to disk
Modified: mmbase/trunk/documentation/backenddevelopers/storage/conversions.xml
===================================================================
--- mmbase/trunk/documentation/backenddevelopers/storage/conversions.xml
2009-05-12 09:10:38 UTC (rev 35078)
+++ mmbase/trunk/documentation/backenddevelopers/storage/conversions.xml
2009-05-12 09:26:09 UTC (rev 35079)
@@ -57,6 +57,21 @@
<programlisting> <option name="database-stores-binary-as-file"
value="true" />
<attribute
name="database-binary-file-path">/home/http/default/blob</attribute>
</programlisting>
+
+ <para>The default configuration is that your binaries will be written to
+ the data directory, which is configured in
+ 'config/modules/mmbaseroot.xml', but when you want your binaries in
+ another location you can specify them with these two lines.</para>
+
+ <para>Next you will need to specify in 'mmbaseroot.xml' that you are using
+ a different file for the database configuration and then restart. When you
+ use the 'config/storage/databases/mysql-binaryasfile.xml' example that
+ line would be:</para>
+
+ <programlisting> <property
name="database">mysql-binaryasfile</property></programlisting>
+
+ <para>Now you are ready to hit the button 'Convert' to start converting
+ your blobs to disk.</para>
</section>
<section id="filestoblobs">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs