<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx</link><description>A few weeks ago we released a new Power Tool to help you with backing up your TFS server. I blogged about it, including how you can backup Sharepoint and Reporting Services as well . Someone asked me if we had verified with the Sharepoint team that the</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10381878</link><pubDate>Wed, 02 Jan 2013 18:52:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10381878</guid><dc:creator>Brian Harry MS</dc:creator><description>&lt;p&gt;Typo. Fixed it.&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10381878" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10380126</link><pubDate>Fri, 21 Dec 2012 15:47:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10380126</guid><dc:creator>davidbridge</dc:creator><description>&lt;p&gt;&amp;quot;that we transaction marking we do doesn&amp;#39;t invalidate Sharepoint&amp;quot; ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10380126" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10132596</link><pubDate>Tue, 22 Feb 2011 10:58:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10132596</guid><dc:creator>Carlos Boneti</dc:creator><description>&lt;p&gt;Hi Brian, &lt;/p&gt;
&lt;p&gt;I ran the commands you sent and it work flawlessly. I could then reschedule the backups without problems.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10132596" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10132176</link><pubDate>Mon, 21 Feb 2011 13:38:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10132176</guid><dc:creator>Brian Harry MS</dc:creator><description>&lt;p&gt;Very soon. &amp;nbsp;I&amp;#39;m planning to blog a preview of it in the next couple of days and it should be available by the end of the month.&lt;/p&gt;
&lt;p&gt;And for your problem...&lt;/p&gt;
&lt;p&gt;The backup restore tool verifies that only one backup plan exists per configuration. This is to prevent creating multiple backup plans for the same databases. The configuration database is stamped with this extended property TFS_BACKUP_PLAN_CONTROLLER, which has the name of the server controlling the backup plan. You need to delete this extended property to recreate a backup plan on another machine and everything will work fine.&lt;/p&gt;
&lt;p&gt;You can do that by:&lt;/p&gt;
&lt;p&gt;Use Tfs_Configuration&lt;/p&gt;
&lt;p&gt;EXEC sp_dropextendedproperty @name = &amp;#39;TFS_BACKUP_PLAN_CONTROLLER&amp;#39;&lt;/p&gt;
&lt;p&gt;Clearly, we are going to eventually need a better way to do this.&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10132176" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10131958</link><pubDate>Sun, 20 Feb 2011 21:38:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10131958</guid><dc:creator>Carlos Boneti</dc:creator><description>&lt;p&gt;Ah, one more thing, do you know when will the next version of the power tools be released? &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10131958" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10131020</link><pubDate>Thu, 17 Feb 2011 17:48:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10131020</guid><dc:creator>Carlos Boneti</dc:creator><description>&lt;p&gt;Hi Brian, &lt;/p&gt;
&lt;p&gt;We are running into a very strange problem. I backed up the TFS databases using the backup tool, but then restored them directly into sql server and configured TFS with the application tier-only wizard. Everything works fine, but now when trying to create a new backup plan, it fails the Backup Plan Verifications. The error message is: [ Backup Plan Verifications ] A backup plan already exists for this Tfs configuration.&lt;/p&gt;
&lt;p&gt;[Error &amp;nbsp;@17:44:29.352] !Verify Error!: A backup plan already exists for this Tfs configuration&lt;/p&gt;
&lt;p&gt;[Info &amp;nbsp; @17:44:29.352] &amp;quot;Verify: Backup Plan Verifications\Root\OnePlanPerConfiguration(OnePlanPerConfiguration): Exiting Verification with state Completed and result Error&amp;quot;&lt;/p&gt;
&lt;p&gt;Any clue? &lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10131020" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10114430</link><pubDate>Tue, 11 Jan 2011 23:55:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10114430</guid><dc:creator>Nic</dc:creator><description>&lt;p&gt;Hi Brian,&lt;/p&gt;
&lt;p&gt;Thanks for the explanation. &lt;/p&gt;
&lt;p&gt;I have spent close to a day tinkering around, and looking at various bits in Reflector to get an understanding of what its doing under the covers to see why things may be failing. &amp;nbsp;However unfortunately I have had no luck with this tool and will be resorting back to a manual backup/restore process. &amp;nbsp;Here is a further list of issues I encountered when attempting to backup/restore with the tool:&lt;/p&gt;
&lt;p&gt;- Restore dialog has same display issues as Backup as posted above&lt;/p&gt;
&lt;p&gt;- “Network Backup Path” textbox does not allow scrolling – it essentially truncates the view of the UNC path you put in. &amp;nbsp;You need to copy/paste into a text editor to verify the path is correct or to manually enter it in&lt;/p&gt;
&lt;p&gt;- “List Backups” sometimes does not return any backups, even though they are listed in the xml file and the bak and trn files are present (possibly masking an error with permissions accessing the UNC path?)&lt;/p&gt;
&lt;p&gt;- If “List Backups” is not clicked before hitting “Next” you advance to an empty form (shouldn’t “Next” be disabled until you select a backup?)&lt;/p&gt;
&lt;p&gt;- The TfsBackups.mht documentation “Scenario 2: Restoring one or more team project collections” states “On the SQL Server Instances page, delete the values in the SQL Server column for the databases that you do not want to restore”. &amp;nbsp;It would be much more intuitive to have a checkbox indicating you would like the database restored&lt;/p&gt;
&lt;p&gt;- Database restore progress is displayed in the original console window. &amp;nbsp;It would be much more intuitive if this was output to a scrollable textbox on the wizard form&lt;/p&gt;
&lt;p&gt;- When changing the user to specify the “NT AUTHORITY\NETWORK SERVICE” account (Windows Server 2003), the following error is encountered in the TaskScheduler library:&lt;/p&gt;
&lt;p&gt;System.Runtime.InteropServices.COMException (0x80041314): The task has been configured with an unsupported combination of account settings and run time options. (Exception from HRESULT: 0x80041314)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Runtime.InteropServices.ComTypes.IPersistFile.Save(String pszFileName, Boolean fRemember)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.Win32.TaskScheduler.TaskDefinition.V1Save(String newName)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String Path, TaskDefinition definition, TaskCreation createType, String UserId, String password, TaskLogonType LogonType, String sddl)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.TeamFoundation.PowerTools.Admin.Helpers.ScheduledTaskHelper.UpdateAccountInformation(String taskName, GenericAccountInfo accountInfo)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.TeamFoundation.PowerTools.Admin.Apply.ChangeBackupTaskAccount.Run()&lt;/p&gt;
&lt;p&gt;- Restore attempt 1:&lt;/p&gt;
&lt;p&gt;* Warning displayed after restore for “Granting Required Permissions for Restore Operation”, but states overall success (I think this was when no backups were listed but the tool allowed me to proceed anyway – unsure now)&lt;/p&gt;
&lt;p&gt;* Restore did not actually occur (no databases added to SQL)&lt;/p&gt;
&lt;p&gt;* Link to log file given due to the warning – but the log file does not exist (i.e. nothing was logged)&lt;/p&gt;
&lt;p&gt;- Restore attempt 2:&lt;/p&gt;
&lt;p&gt;* Warning displayed after restore for “Granting Required Permissions for Restore Operation”, but states overall success&lt;/p&gt;
&lt;p&gt;* Restore leaves databases in “Restoring…” state – i.e. databases do not have the transaction logs restored&lt;/p&gt;
&lt;p&gt;I was never able to get a restore to NOT give a warning on “Granting Required Permissions for Restore Operation”. &amp;nbsp;However, I tried on shares which the user running the PowerTool was an admin without any luck.&lt;/p&gt;
&lt;p&gt;I also ran into various issuses in attempting to overcome these, but it seems like a dead end. &amp;nbsp;The closest I got was to have it restore all databases but not complete the trn log restore (however tools thinks it worked).&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10114430" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10114151</link><pubDate>Tue, 11 Jan 2011 13:33:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10114151</guid><dc:creator>Brian Harry MS</dc:creator><description>&lt;p&gt;Thanks for the bug report - we&amp;#39;ll look into it.&lt;/p&gt;
&lt;p&gt;The backup and restore Power Tool shows a great deal of promise. &amp;nbsp;It really takes a fairly complex task and makes it unbelievably easy. &amp;nbsp;However, I agree we missed some pretty fatal issues. &amp;nbsp;It&amp;#39;s one of the more complex Power Tools we&amp;#39;ve ever tried and I&amp;#39;ve wondered whether I would try something that ambitious again in this form. &amp;nbsp;I&amp;#39;m not sure.&lt;/p&gt;
&lt;p&gt;The model we use for testing Power Tools is the developer who builds them tests them and then when they are &amp;quot;done&amp;quot; we have a QA person do a several hour &amp;quot;bug bash&amp;quot;. &amp;nbsp;Generally there&amp;#39;s no automated regression testing beyond unit tests and the biggest gap tends to be configuration testing - we only test it on whatever config the developer and tester happen to have handy. &amp;nbsp;It&amp;#39;s all part of the trade-off: agile delivery and low cost = more risk. &amp;nbsp;I&amp;#39;m hopeful that when we ship the next update with fixes for all of the known issues, people will be very happy with it.&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10114151" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10113985</link><pubDate>Tue, 11 Jan 2011 01:52:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10113985</guid><dc:creator>Nic</dc:creator><description>&lt;p&gt;Hi Brian,&lt;/p&gt;
&lt;p&gt;I am also running into issues running the backup tool, which I have not seen anyone else indicate they have run into the same issue. &amp;nbsp;It involves the form that comes up when you click &amp;quot;Create backup plan&amp;quot; - it seems a bit dodgy in operation! &amp;nbsp;When the form opens it does not appear in the taskbar. &amp;nbsp;If you click off the form and you don&amp;#39;t realise it, it hides behind the main admin console (only to be found by alt+tab back to the admin console) - i.e. clicking &amp;quot;Create backup plan&amp;quot; again will not show the existing form.&lt;/p&gt;
&lt;p&gt;Worse again - I have seen on a W2K8R2 server where the form doesn&amp;#39;t SHOW at all. &amp;nbsp;However, it &amp;nbsp;must be still being created as when the admin console is closed you are prompted x times for each click on the &amp;quot;Create backup plan&amp;quot; link (don&amp;#39;t have it in front of me but I think the prompt asks about whether you want to exit the wizard or something). &amp;nbsp;This essentially makes the backup feature unusable as you cannot access it!&lt;/p&gt;
&lt;p&gt;I would be interested in what level of testing and brainstorming of ideas the power tools are put through before release? This particular feature doesn&amp;#39;t seem well tested or thought out? (referring to other issues with the &amp;quot;NO_TRUNCATE&amp;quot; and the omission of checking the SharePoint support).&lt;/p&gt;
&lt;p&gt;The backup feature is obviously a very important addition, I just think it may have been a bit rushed?&lt;/p&gt;
&lt;p&gt;Thanks very much&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10113985" width="1" height="1"&gt;</description></item><item><title>re: Update on backing up TFS with Sharepoint</title><link>http://blogs.msdn.com/b/bharry/archive/2010/09/23/update-on-backing-up-tfs-with-sharepoint.aspx#10097868</link><pubDate>Mon, 29 Nov 2010 17:39:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10097868</guid><dc:creator>Brian Harry MS</dc:creator><description>&lt;p&gt;What we shipped will work and you can use it if you choose. &amp;nbsp;Officially, using our tool to back up Sharepoint will make your Sharepoint install unsupported. &amp;nbsp;You can decide whether or not that&amp;#39;s OK with you.&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10097868" width="1" height="1"&gt;</description></item></channel></rss>