John Livermore
John Livermore

Reputation: 31313

Moving TFS database

Our TFS database was installed on the c: drive, but should have been installed on the f: drive (1 Tb drive). To move this do we simply need to unmount the databases, move MDF and LDF files to the new drive, and remount the databases?

Are there any gotchas that will bite us if we do the above?

Upvotes: 0

Views: 167

Answers (1)

jessehouwing
jessehouwing

Reputation: 114461

Make sure you properly turn off the tfs services on all your TFS Application Tiers before detaching the databases using

tfsservicecontrol quiesce

From the Applicatier Tier server console.

Then after moving everything make sure you turn them back on using

tfsservicecontrol unquiesce

See also: http://msdn.microsoft.com/en-us/library/ff470382.aspx

Upvotes: 4

Related Questions