Edgewall Software

Changes between Version 25 and Version 28 of TracUpgrade


Ignore:
Timestamp:
Jan 12, 2006, 11:07:59 AM (18 years ago)
Author:
Markus Tacker <m@…>
Comment:

Added info to convert multiple dbs at once

Legend:

Unmodified
Added
Removed
Modified
  • TracUpgrade

    v25 v28  
    8383}}}
    8484
     85To update multiple database files at once on linux you may use the following command (replace {{{/var/trac}}} withe the location where your trac installtions reside):
     86{{{
     87 $ find /var/trac/ -iname "trac.db" | xargs -i bash -c "mv {} {}.2; sqlite {}.2 .dump | sqlite3 {};"
     88}}}
     89
     90Remember the give the webserver write permission to trac.db.
     91
    8592After testing that the conversion was successful, the `trac2.db` file can be deleted. For more information on the SQLite upgrade see http://www.sqlite.org/version3.html.
    8693