> -----Original Message-----
> From: [email protected] On Behalf Of 
> [email protected]
> Sent: 27 March 2012 00:21
> To: Trac Users
> Subject: [Trac] trac noob question - deleting/removing an 
> existing trac environment
> 
> Say I have a landing page which lists 3 separate trac environments for
> 3 projects.  Say one got dropped before it even started.
> 
> Is getting rid of the link/environment as easy as just physically
> removing the environment and it's db?
> 
> just delete /var/lib/trac/what_I_want_to_delete?
> 
> I am unsure if there is some trac foo I would have to do somewhere
> else...
> 
> Thanks for any help I can get.
> 
"It Depends"

Which backend are you using?  As a self confessed "noob" then I assume you 
probably went with the default SQLite database.  As this is stored in a 
subdirectory of the environment (e.g. /var/lib/trac/what_I_want_to_delete/db) 
then, yes, you remove the "project" by deleting the folder...  If you used a 
different database backend, then removing the folder will not remove the data 
from the database, you will need to use your admin tools for that (e.g. 
pg-admin for PostgreSQL).

I also assume that you are using the "parent path" option of listing all 
folders under one root as projects.  If not, you will (as Aaron) says, also 
need to update the command / configuration used to host your tracs.

Regards,

~ mark c

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to