Link to home
Start Free TrialLog in
Avatar of tcmmaxt
tcmmaxtFlag for United States of America

asked on

Does the Team Foundation Server 2010 command "TfsDeleteProject" delete all the files on server?

expert:
I need to delete all the files (data) for a certain team project from the TFS server. I've used the "TfsDeleteProject" command before to remove team projects from list of Team Projects on TFS. However I am not sure if it actually frees on the memory the server. Additionally I lost the Team Project mapping and cannot "Open from Source"  or check in or checkout or the delete files indiviually. Will the "TfsDeleteProject" command delete and free up disk space on the server and if not how would you find and delete those files off the TFS server that stores the files? help
ASKER CERTIFIED SOLUTION
Avatar of ChetOS82
ChetOS82
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tcmmaxt

ASKER

ChetOS82: great, some me an example how to use the "tr destroy" command to delete from database?
Avatar of tcmmaxt

ASKER

ChetOS82: great, show me an example how to use the "tr destroy" command to delete from database?
SOLUTION
Avatar of Mohamed Osama
Mohamed Osama
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The full syntax for the tf destory command is here: http://msdn.microsoft.com/en-us/library/bb386005.aspx

TfsDeleteProject does a "soft delete" of the source code (it just marks the files as deleted so they don't show up).  The files are still stored in the database and therefore take up disk space.  Disk space is cheap, so I suggest that you just leave it at that.

However, if you really want to get the files out completely (and irreversibly) then use tf destroy.