From Trac 0.10 and above
-
Use Datamover plugin
-
To backup:
<pre>sqlite3.exe e:\project\db\trac.db .dump > c:\oldtrac.sql</pre> </li>
-
To restore:
<pre>sqlite3 /newtracproject/db/trac.db
.read oldtrac.sql .exit
<pre>sqlite3.exe e:\project\db\trac.db .dump > c:\oldtrac.sql</pre>
</li>
<pre>sqlite3 /newtracproject/db/trac.db
.read oldtrac.sql .exit