[ Thanks to Marius
Ducea for this link. ]
“This is obvious, but many times ignored. Here are the
key locations of a normal trac 0.10 installation that you will need
to save: /usr/lib/python2.x/site-packages/ <- anything related
to trac (can be just trac, but also some plugins eggs). You will
normally run python2.4 meaning this will be:
/usr/lib/python2.4/site-packages; If you use other versions please
change accordingly. /usr/share/trac <- web files (htdocs and
cgi-bin) /var/trac <- this is the location where you deployed
your project (depends on your setup)“Just save them, in case you will need them later. I would also
disable all the plugins you might be using in trac. Now you should
remove the files from /usr/lib/python2.x/site-packages/ and
/usr/share/trac that are related to trac. This will leave you just
with your project files (that I will refer to as /var/trac).”