Every so often, I get asked for help with the archiving of Team Projects. The team asking usually no longer wants to see their old Team Projects for whatever reason, but they still want to get it back should the need arise.
Although there currently is no archiving function on TFS, you can still archive these Team Projects. The process described below will work for TFS2010, TFS2012 (all updates) and TFS2013 (all updates). It will not work for Visual Studio Online (TFS Services). If you follow the steps below carefully, you will have a working archiving solution. Do not skip a single step and follow the steps in the correct order!
Since migrating Team Projects between Team Project Collections is a mammoth task, you will probably create a new archive the next time you want to archive some Team Projects in a Team Project Collection that you already have an archive for. Therefor it is important to document what is in each archive.
So here is how you do it:
There shouldn’t be any problem with skipping step 1 and 7 – stopping and starting of the TFS app in IIS; by taking the Team Project Collection offline, you will also prevent transactions from being handled against the specific Team Project Collection. I just prefer to wear a belt AND suspenders…
When I have a back-up, I will not need it, but when I don’t have one I will need it!