Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

Update 2 Backup and Restore

$
0
0

I was reading  that with TFS2012 Update 2 backup tools it is not necessary to detach a collection for backup if the intent was to restore to a new hardware.

Sorry, I can't put the link in the email (this is my first post here) to the KB article, but it is from msdn.microsoft.com en-us library jj620932 aspx - you can add the slashes.

I tried restoring a database that was created with this tool to our test server (also running TFS2102 Update 2) and ran into several issues with the permissions of the DB. I was only trying to restore a single collection and did not try to restore the tfs_configuration or other DB's.

I tried several of the command line tools in tfsconfig (changeserverid, remapDBs, recover) with no success.

I then deleted the restored database, made sure it wasn't in SQL or the file system.

I detached the collection from the production server

Backed it up using SQL backup tools

Reattached original collection to Production TFS

Restored the backup to our test server

Attached this collection with no issues.

This appears to be the same behaivior as we saw before. Is it still necessary to detach a collection before backing it up if the intention is to restore it to a different server?

Thanks in advance.


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>