TFS 2008 Service Pack 1 - Caution with database backups! - Willy-Peter Schaub's Cave of Chamomile Simplicity

TFS 2008 Service Pack 1 - Caution with database backups!

My colleague Zayd has posted an interesting journal of a few scary hours we had when upgrading our production TFS 2008 server to service pack 1. All went well, expect that the incremental backups on TfsVersionControl database failed after the upgrade ... we made jokes like who needs the source ... at least we have the work items going forward, but within we were sweating blood. Read Zayd's journal here!

Blue Man Holding a Stool and Whip While Taming a Bull, Bull Market Clipart Illustration What is important to remember with TFS is that direct access to databases is not encouraged, as the schema is changing as per design. The only access to TFS must be via the TFS SDK and the published services. This obviously does not go down well with the support and maintenance experts who are responsible for backing up the data.

Perhaps a recommendation, that originates from an email I got from Martin Woodward (the father of Brian the Bunny) is to perform a full database backup before applying a service pack or hot fix, followed by the maintenance incremental backups. We did not perform a full database backup, as we simply copied the virtual machine files for safety, then upgraded ... if problem, roll-back to previous virtual machine files ... sounded simple and correct ... resulting in a few years of aging as we investigated the problem we experienced.

We live and learn ...

Published Thursday, August 28, 2008 9:57 AM by willy
Filed under:

Comments

# re: TFS 2008 Service Pack 1 - Caution with database backups!

Thursday, August 28, 2008 9:28 PM by Martin Woodward

A full database backup before *and* after applying any service pack or hot fix is definitely worth the extra few minutes it will add to the upgrade process.  (Even though I also keep an image backup of the TFS server to roll back to in case anything goes wrong :-) )

When it comes to source control server backups, you can never be too careful :-D

Hope you didn't loose too much hair on the day, and glad you are up and running again.

# VSTS Links - 08/29/2008

Friday, August 29, 2008 5:45 PM by Team System News

Willy-Peter Schaub on TFS 2008 Service Pack 1 - Caution with database backups! Jason Barile on Why "Get...

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: