Changes between Initial Version and Version 1 of DbDump


Ignore:
Timestamp:
Apr 24, 2007, 2:46:58 PM (17 years ago)
Author:
Nicolas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DbDump

    v1 v1  
     1= Exporting credit statistics with db_dump =
     2
     3The program db_dump generates XML files containing your project's credit data. It should be run every 24 hours. Include an entry like
     4{{{
     5    <tasks>
     6        <task>
     7            <cmd>db_dump -d 2 -dump_spec ../db_dump_spec.xml</cmd>
     8            <output>db_dump.out</output>
     9            <period>24 hours</period>
     10        </task>
     11    </tasks>
     12}}}
     13
     14in your [ProjectTasks config.xml] file. Make sure the file db_dump_spec.xml is in your project's root directory.
     15
     16The XML files are written to html/stats/, and the old stats/ directory is renamed to stats_DATE. This clutters up your html/ directory; if you don't like this, create a directory html/stats_archive/ and add the line
     17{{{
     18<archive_dir>../html/stats_archive</archive_dir>
     19}}}
     20to your db_dump_spec.xml file.