On Thu, 2006-08-10 at 21:09 -0400, Matthew Gillen wrote:
> Jon Andersen wrote:
> > Hi,
> > 
> > I would like to migrate my trac wiki from one Fedora Core 4 server to a
> > new 64-bit Fedora Core 5 server.   did look at the manual and google for
> > it, but didn't find instructions.  I think I can handle migrating the
> > SVN, and the trac configuration, but I don't know how to migrate the
> > backend trac database.  I think I'm using just the default SQLLite
> > database.  I would be moving from yum package trac.noarch version
> > 0.9.5-1.fc4 to trac.noarch version 0.9.6-1.fc5.
> > 
> > Can anyone point me to instructions on how to migrate the database, or
> > considerations in migrating the rest of Trac?
> 
> The foolproof way would be to dump the database and reload it:
> on your 32bit server:
>  echo '.dump' | sqlite trac.db | gzip -c > trac.dump.gz
> 
> then on your 64bit box, import the dump file into a new database:
>  zcat trac.dump.gz | sqlite trac.db

That will work, though it's typically only necessary if you need to
convert between the sqlite2 and sqlite3 database formats.  Otherwise you
should just be able to simply move the folders containing your SVN
repository and Trac project.

Do remember to double-check the directory paths in the trac.ini file
after you've moved it to make sure you haven't installed anything to a
different directory.

-- 
Matt Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to