tcmmaxt
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ChetOS82: great, show me an example how to use the "tr destroy" command to delete from database?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
ASKER