I would like to know what happens when the disk space on which the shared folder resides on which full and incremental TFS backups are saved. In my configuration, the disk where backups are made is not the disk where there is the TFS database. If there is insufficient disk space for continuous backups to work with TFS for various clients?
The backups will fail and you will not be able to restore your TFS server in case of a corruption.
TFS automatic Backup is fundamental to restore your work in case of problem.
So I suggest You to use it.
If needed not to use a lot of disk space you can reduce retention days for old backups from TFS administration console in backup tab, basically similar for last TFS versions. Take care to have at least one full backup saved.
See Backing up and Restoring your TFS Server for TFS 2010
Related
I am looking a way or strategies of backing up my projects on TFS2017.
I don't there is a tool to do full backup / incremental backup or differential backup.
I would appreciate any resource or help .
Thanks
How to run a backup of projects on TFS 2017
AFAIK, TFS does not support backup a single project or some of projects. There are too many dependencies in the database. It only supports backing up the entire project collection.
If you still want to backup some of projects instead of the entire project collection, you could try to back up this project collection first, then delete other projects from this project collection and create a new backup project collection containing only the projects you need.
You could use the Scheduled Backups Wizard to makes it easy to back up your databases, which are part of the Azure DevOps Server data tier and are stored in SQL Server:
Back up and restore databases
Besides, if you are working with a large deployment and want to protect against data loss while efficiently using limited storage resources, you can configure differential backups as well as full data backups. If you are using SQL Server AlwaysOn, you can take backups of your secondary database. You can also try using backup compression or splitting backups across multiple files.
Types of backups
And we could also manually back up data for Azure DevOps Server by using the tools that SQL Server provides
Our TFS 2013 cache is growing very large and would like to move it to a different hard drive. Looks like TFS has two caches, one for the web service and one for the background job agent so I wanted to move both. For the web service, it was very easy based on the description here - http://msdn.microsoft.com/en-us/library/ms400793.aspx. For the job agent, I could not find a similar document, so I looked for a similar cache setting in C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TFSJobAgent\TfsJobAgent.exe.config but couldn't find one.
Any suggestions?
It is not possible to move anything associated with the TfsJob Agent.
However when installing TFS there is the option to install to a different disk for everything. I would however not recommend this practice and you should have at least 100gb for a modern servers primary partition.
When, within Visual Studio 2013, I rename a file that is bound to TFS, Visual Studio pauses for around six seconds. When I'm refactoring for example, this wait is really annoying because it interrupts my flow.
I suspect that when I rename a file it is contacting TFS and doing the rename on the server which is the reason for the pause and my wait (edit - I don't think this is the case because it takes exactly 6 seconds when I don't have internet connectivity). If this is the reason, is there anyway to tell VS not to contact TFS until I check in? If it is not the reason for the slowing down of VS while I rename does anyone have any solutions to quicken up this process?
Edit - further information
Visual Studio 2013 with update 2 and the free online version of TFS. The pause occurs with or without internet access. My machine is fairly fast (i5-2520M processor) with a SSD but it is 32 bit with 3gb of ram. I don't have many problems with memory though due to the SSD.
In terms of add-ins I haven't installed any other than the default (I only recently upgraded to VS 2013)
How big is your workspace? VS 2013 supports local workspaces, which allow you to do more when you are offline. However, if your workspace is large some operations can take a while when the files in it are scanned. This blog entry gives a good overview:
http://blogs.msdn.com/b/phkelley/archive/2013/05/29/server-workspaces-vs-local-workspaces.aspx
Here is some relevant text from that blog:
"Local workspaces have scalability limitations due to their use of the local workspace scanner which checks for edited items. Local workspaces are recommended for most of our customers, because most workspaces fit into the “small” or “medium” category in our view – that is, they have fewer than 50,000 files and folders. If your workspace has more than 50,000 items, you may experience performance problems or TF400030 errors as operations exceed 45 seconds in duration. In this case, splitting your workspace up into multiple smaller workspaces (perhaps one workspace per branch), or switching to server workspaces is recommended."
With your SSD I am not sure this is the problem, but it seems worth mentioning.
To change your workspace from local to server, or just to see whether you do in fact have a local workspace, select your workspace on the Team Explorer window and choose Manage Workspaces. Highlight your workspace and select Edit, then select Advanced. The type of workspace you have will be in the Location field.
TFS backup plan has become corrupt. When I try to recreate the backup plan I get "Object reference not set to an instance of an object." How do I completely delete the backup plan and start from scratch? I am using TFS 2010 with Power Tools.
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