I can't create a new backup plan in TFS 2012 after a hardware migration.

by Donovan Brown 24. October 2012 21:17

Problem

I upgraded my TFS from 2010 to 2012 and moved to new hardware after my 2010 machine crashed. When I attempt to setup a new backup plan using the 2012 Power Tools I get the following error:

A backup plan already exists for this TFS system on a different machine

Solution

Connect to SSMS and create a new query using Tfs_Configuration and execute the following command.

EXEC sp_dropextendedproperty @name = 'TFS_BACKUP_PLAN_CONTROLLER'

Explanation

The database has an extended property that it stores the name of the machine used for the backups. This was set while running on the original hardware. You have to remove this value before the power tool will allow you to configure a new backup.

Tags: , , ,

Work

I can't run my scripts created by DBPro in SSMS

by Donovan Brown 26. July 2011 18:42

Problem

When I try and run my deploy scripts from DBPro in SSMS I get syntax errors where variables are used.

Solution

Switch on SQL CMD Mode before you execute the SQL file.  To enable the SQL CMD Mode select SQL CMD Mode from the Query menu in SSMS.

Tags: , , ,

Work

About the author

My name is Donovan Brown and I am a process consultant for Imaginet with a background in application development.  I also run one of the Nation’s fastest growing online registration sites for motorsports events DLBRacing.com.  When I am not writing software I race cars for fun.  DLBRacing.com has given me the opportunity to combine my two passions writing software and racing cars.

AdSense

Month List

AdSense