TFS restore from TFS 2013 DB backup taken manually - tfs

I have only all TFS DB backup which was taken manually before server crashed, I want to restore the TFS instance from the same backup. Can anybody help me on the approach, process or link how to do it. It will be great help for me. Thanks.

Please refer to Restore data to the same location

This can be a good starting point: Back up and restore TFS from MS site.
No fear!

Related

How does manual backup/restore of TFS server work?

I setup TFS 2013 Express on my dev PC.
The only backup method that I can do is a manual backup.
These are the steps that I did:
I backed up the TFS Team Project DB and the TFS Configuration DB.
I added a comment to my code and checked it in.
I restored the backup db's from step one using TFSRestore.exe
I deleted the source code from my PC and did a get latest.
I noticed that my comment from step 2 was still present.
When I restore a TFS database shouldn't I loose the changes that were made after the given backup?
EDIT:
I ran a second test and this time I made sure:
I still had the same results.
When you backup database, make sure you have stopped the team project collection.
Also, before restore, try to delete existing database that will restore.

Get the history of TFS for expired trial version

I installed the Basic TFS trial version and now it got expired.
It is mandatory for me to get the history of TFS.
Where does it store the history? Does it store it in the SQL Express?
Is there any way to get the saved history?
Digging through the database is not trivial. You'd have to piece the history back together and de-deltify all the blogs.
It would be much easier just to get your TFS instance working again so that you can get the files out of it. TFS Express 2012 is now available, and has no such time restriction. It's free for up to 5 users. You may be able to upgrade your existing installation.
If you are still able to do a get, you could hook up git-tfs. Once you execute the git-tfs clone, you will be able to view the history using git. You can look at this tutorial for more information.
Did you consider trying querying the TFSWarehouse and use and automatic script to recreate history ?
Reference: Export TFS 2010 History to Excel or Text Document

TFS 2010 Backup and restoration proceedure

Following are the scenario in my environment
I have a tfs 2010 server which is running fine and i have schedule the backup for WSS_AdminContent,WSS_Config, Tfs_Warehouse,Tfs_Configuration. and one project which is created in tfs. Now i want to restore this TFS 2010 in my test environment.
I am in need of how do i proceed for the same and how can i restore my production environment in test environment.SO that if my production server is down i will be able to restore all projects in TFS 2010.
Thanks and Regards
Avinash Udawant
System Admin.
You'll also need to backup other databases, including project collection databases and more. Follow the MSDN guidance in order to make sure you get all the steps right for backing up and restoring TFS.

How to change Data Tier(Sql Instance) in TFS

I have just installed TFS Server 2010 but during installation I selected SqlExpress as my data tier. Both my TFS application server and database exists on the same box. I also have full enterprise Sql Server edition on the samebox and now want to use the same rather than SqlExpress.
In TFS administration console, I found no way to change my data tier. I haven't created any project as such on TFS so there is no data to migrate. I just want to use my default instance now.
How to go about this ?
FROM https://msdn.microsoft.com/en-us/library/ms404869(v=vs.120).aspx
In order to restore the TFS databases using the restore tool, you must install but not configure TFS on the new data-tier server, and then use the restore function in the Scheduled Backups node.
Install TFS and cancel the setup TFS setup window once it opens. Or in my case I used the Uninstall Application tier option in the TFS Admin Tool. I didn't know you could cancel the application tier install. The wizard kind of forces you into it. Then I had to rename\delete the configuration db and any others that were created in the install.
I had to do this today for a TFS 2018 and found the below article useful. May not fit everyone's scenario but sharing since this SO link came on top of search results.
Run
TfsRestore.exe
in the C:\Program Files\Microsoft Team Foundation Server 14.0\Tools
folder. It has a GUI.
https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2012/jj620932(v=vs.110)
At this early point, you might as well just uninstall and reinstall. That's probably the easiest method.

What's a Backup and Recovery Process for Team Foundation Server 2010?

We have a new installation of TFS 2010 (on SQL Server 2008), and I'm planning the backup and recovery process.
It seems the configuration information and data is stored in the Tfs_Configuration and Tfs_DefaultCollection databases (and additional Tfs_[CollectionName] dbs if you have more than one collection). In a test setup, I tried backing up the two dbs, uninstalling TFS, then reinstalling (thinking I could then hook the databases up at some point in the install process). This is where I'm confused. I don't see an option or clear guidance on how this is suppose to work.
If you have backed up your TFS 2010 databases and lose your TFS server, you can restore it by restoring all of your TFS databases, reinstalling TFS, and selecting the Application Tier option of the installation wizard. Once you point the wizard at your database, it will recognize the Tfs_Configuration database from the previous installation and restore your previous configuration as well as your collections.
Download the TFS Power tools and use the backup tool (it's even got a nice GUI)!
There seems to be a MSDN section on this topic: http://msdn.microsoft.com/en-us/library/bb552295.aspx

Resources